summaryrefslogtreecommitdiff
path: root/net/mac80211/rx.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/rx.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/rx.c')
-rw-r--r--net/mac80211/rx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 8bae5de0dc44..82af407fea7a 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -2736,8 +2736,7 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx)
opmode = mgmt->u.action.u.vht_opmode_notif.operating_mode;
ieee80211_vht_handle_opmode(rx->sdata, rx->sta,
- opmode, status->band,
- false);
+ opmode, status->band);
goto handled;
}
default: