aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2013-08-28 13:49:20 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-08-28 13:49:20 -0400
commitcd80e107b741f9e05c53a01e5cbe2cdf4b6074bc (patch)
treec5e95347439b75ba4bd67c566f42f7aaf7730403 /net/mac80211
parent53b2f828487ea7a3f6fa4007b629466fb0d14339 (diff)
parentd70b7616d9080ec9f868fbd31db5fd4341435d61 (diff)
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/mlme.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 2aab1308690f..86e4ad56b573 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -2861,14 +2861,6 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata,
2861 ieee80211_rx_bss_put(local, bss); 2861 ieee80211_rx_bss_put(local, bss);
2862 sdata->vif.bss_conf.beacon_rate = bss->beacon_rate; 2862 sdata->vif.bss_conf.beacon_rate = bss->beacon_rate;
2863 } 2863 }
2864
2865 if (!sdata->u.mgd.associated ||
2866 !ether_addr_equal(mgmt->bssid, sdata->u.mgd.associated->bssid))
2867 return;
2868
2869 ieee80211_sta_process_chanswitch(sdata, rx_status->mactime,
2870 elems, true);
2871
2872} 2864}
2873 2865
2874 2866
@@ -3157,6 +3149,9 @@ static void ieee80211_rx_mgmt_beacon(struct ieee80211_sub_if_data *sdata,
3157 3149
3158 ieee80211_rx_bss_info(sdata, mgmt, len, rx_status, &elems); 3150 ieee80211_rx_bss_info(sdata, mgmt, len, rx_status, &elems);
3159 3151
3152 ieee80211_sta_process_chanswitch(sdata, rx_status->mactime,
3153 &elems, true);
3154
3160 if (ieee80211_sta_wmm_params(local, sdata, elems.wmm_param, 3155 if (ieee80211_sta_wmm_params(local, sdata, elems.wmm_param,
3161 elems.wmm_param_len)) 3156 elems.wmm_param_len))
3162 changed |= BSS_CHANGED_QOS; 3157 changed |= BSS_CHANGED_QOS;