summaryrefslogtreecommitdiff
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2015-12-08 17:04:36 +0300
committerJohannes Berg <johannes.berg@intel.com>2015-12-15 15:16:47 +0300
commitcf1e05c63642ce65821a6277adfc2157f7334c9d (patch)
tree520021e3e5bbdd88704a9cf91fb7fc2686470796 /net/mac80211/mlme.c
parenta87da0cbc42949cefc8282c39ab4cb8c460bd6ea (diff)
downloadlinux-cf1e05c63642ce65821a6277adfc2157f7334c9d.tar.xz
mac80211: handle width changes from opmode notification IE in beacon
An AP can send an operating channel width change in a beacon opmode notification IE as long as there's a change in the nss as well (See 802.11ac-2013 section 10.41). So don't limit updating to nss only from an opmode notification IE. Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.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 f360b7784775..3aa04344942b 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -3580,7 +3580,7 @@ static void ieee80211_rx_mgmt_beacon(struct ieee80211_sub_if_data *sdata,
if (sta && elems.opmode_notif)
ieee80211_vht_handle_opmode(sdata, sta, *elems.opmode_notif,
- rx_status->band, true);
+ rx_status->band);
mutex_unlock(&local->sta_mtx);
changed |= ieee80211_handle_pwr_constr(sdata, chan, mgmt,