aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2012-04-25 10:54:24 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-05-08 21:53:39 -0400
commit91a0099c190107821292d3114c396ac858ad723e (patch)
tree638dead4bf539c13ecb0f58af40904d5552263f5 /net/mac80211/mlme.c
parent98e6b9df53e3e561ee75b7ed76dccb09964ba952 (diff)
mac80211: fix rate control update on 2040 bss change
The rate control updation never be called on 2040 BSS change. The station should update its rate control on receiving beacon with different HT mode in the HT operation IE. Not doing so, leads to sending frames with higher(ht40) rates whereas AP is operating in lower mode (ht20). Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 03f93f958fa..dbd4bd92c01 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -210,7 +210,7 @@ static u32 ieee80211_config_ht_tx(struct ieee80211_sub_if_data *sdata,
210 disable_40 = true; 210 disable_40 = true;
211 211
212 if (sta && (!reconfig || 212 if (sta && (!reconfig ||
213 (disable_40 != !!(sta->sta.ht_cap.cap & 213 (disable_40 != !(sta->sta.ht_cap.cap &
214 IEEE80211_HT_CAP_SUP_WIDTH_20_40)))) { 214 IEEE80211_HT_CAP_SUP_WIDTH_20_40)))) {
215 215
216 if (disable_40) 216 if (disable_40)