aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2010-03-29 06:18:36 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-03-31 14:46:38 -0400
commit0af26b278bc1d747370b451595b7586cb7b3455c (patch)
tree2e82d68e3c3f3f873cf855e7cec60de1759d7823 /net/mac80211/cfg.c
parente61146e36b40fd9d346118c40285913236c329f3 (diff)
mac80211: enable QoS explicitly in AP mode
Enable QoS explicitly, when user space AP program will setup a QoS queues. Currently this is not needed as iwlwifi not work in AP mode and no other driver implement enable/disable QoS. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index c8f520529eec..a4ca425e4f3f 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1136,6 +1136,10 @@ static int ieee80211_set_txq_params(struct wiphy *wiphy,
1136 return -EINVAL; 1136 return -EINVAL;
1137 } 1137 }
1138 1138
1139 /* enable WMM or activate new settings */
1140 local->hw.conf.flags |= IEEE80211_CONF_QOS;
1141 drv_config(local, IEEE80211_CONF_CHANGE_QOS);
1142
1139 return 0; 1143 return 0;
1140} 1144}
1141 1145