diff options
author | Eyal Shapira <eyal@wizery.com> | 2015-12-08 15:04:36 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-12-15 13:16:47 +0100 |
commit | cf1e05c63642ce65821a6277adfc2157f7334c9d (patch) | |
tree | 520021e3e5bbdd88704a9cf91fb7fc2686470796 /net/mac80211/cfg.c | |
parent | mac80211: suppress unchanged "limiting TX power" messages (diff) | |
download | linux-cf1e05c63642ce65821a6277adfc2157f7334c9d.tar.xz linux-cf1e05c63642ce65821a6277adfc2157f7334c9d.zip |
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/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index da471eef07bb..c12f348138ac 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1169,8 +1169,7 @@ static int sta_apply_parameters(struct ieee80211_local *local, * rc isn't initialized here yet, so ignore it */ __ieee80211_vht_handle_opmode(sdata, sta, - params->opmode_notif, - band, false); + params->opmode_notif, band); } if (ieee80211_vif_is_mesh(&sdata->vif)) |