diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 75c487229f2e..c5445bae9d6c 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1043,6 +1043,8 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata, | |||
1043 | 1043 | ||
1044 | rcu_read_unlock(); | 1044 | rcu_read_unlock(); |
1045 | 1045 | ||
1046 | ieee80211_set_wmm_default(sdata); | ||
1047 | |||
1046 | ieee80211_recalc_idle(local); | 1048 | ieee80211_recalc_idle(local); |
1047 | 1049 | ||
1048 | /* channel(_type) changes are handled by ieee80211_hw_config */ | 1050 | /* channel(_type) changes are handled by ieee80211_hw_config */ |
@@ -1658,6 +1660,8 @@ static void ieee80211_rx_mgmt_assoc_resp(struct ieee80211_sub_if_data *sdata, | |||
1658 | if (elems.wmm_param) | 1660 | if (elems.wmm_param) |
1659 | ieee80211_sta_wmm_params(local, ifmgd, elems.wmm_param, | 1661 | ieee80211_sta_wmm_params(local, ifmgd, elems.wmm_param, |
1660 | elems.wmm_param_len); | 1662 | elems.wmm_param_len); |
1663 | else | ||
1664 | ieee80211_set_wmm_default(sdata); | ||
1661 | 1665 | ||
1662 | if (elems.ht_info_elem && elems.wmm_param && | 1666 | if (elems.ht_info_elem && elems.wmm_param && |
1663 | (ifmgd->flags & IEEE80211_STA_WMM_ENABLED) && | 1667 | (ifmgd->flags & IEEE80211_STA_WMM_ENABLED) && |