diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index a54cf146ed50..794792177376 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -803,8 +803,8 @@ void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata) | |||
803 | 803 | ||
804 | /* after reinitialize QoS TX queues setting to default, | 804 | /* after reinitialize QoS TX queues setting to default, |
805 | * disable QoS at all */ | 805 | * disable QoS at all */ |
806 | local->hw.conf.flags &= ~IEEE80211_CONF_QOS; | 806 | sdata->vif.bss_conf.qos = sdata->vif.type != NL80211_IFTYPE_STATION; |
807 | drv_config(local, IEEE80211_CONF_CHANGE_QOS); | 807 | ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_QOS); |
808 | } | 808 | } |
809 | 809 | ||
810 | void ieee80211_sta_def_wmm_params(struct ieee80211_sub_if_data *sdata, | 810 | void ieee80211_sta_def_wmm_params(struct ieee80211_sub_if_data *sdata, |
@@ -1161,7 +1161,8 @@ int ieee80211_reconfig(struct ieee80211_local *local) | |||
1161 | BSS_CHANGED_BASIC_RATES | | 1161 | BSS_CHANGED_BASIC_RATES | |
1162 | BSS_CHANGED_BEACON_INT | | 1162 | BSS_CHANGED_BEACON_INT | |
1163 | BSS_CHANGED_BSSID | | 1163 | BSS_CHANGED_BSSID | |
1164 | BSS_CHANGED_CQM; | 1164 | BSS_CHANGED_CQM | |
1165 | BSS_CHANGED_QOS; | ||
1165 | 1166 | ||
1166 | switch (sdata->vif.type) { | 1167 | switch (sdata->vif.type) { |
1167 | case NL80211_IFTYPE_STATION: | 1168 | case NL80211_IFTYPE_STATION: |