diff options
author | Ilan Peer <ilan.peer@intel.com> | 2015-12-13 12:41:43 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-02-24 09:04:19 +0100 |
commit | a7201a6c5ea0157e96d17240d185a538bfdb7038 (patch) | |
tree | 83db0d468d7db0d7a1cb290b903e820baa987402 /net/mac80211/ht.c | |
parent | mac80211: allow drivers to report (non-)monitor frames (diff) | |
download | linux-a7201a6c5ea0157e96d17240d185a538bfdb7038.tar.xz linux-a7201a6c5ea0157e96d17240d185a538bfdb7038.zip |
mac80211: Recalc min chandef when station is associated
The minimum chandef bandwidth calculation was done only in case
a new station was inserted (or when an existing station was removed).
However, it is possible that stations are inserted before they are
associated, e.g., when FULL_AP_CLIENT_STATE is supported and user
space adds stations unassociated.
Fix this by calling ieee80211_recalc_min_chandef() whenever
a station transitions in/out the associated state, and only
consider station marked as associated.
Signed-off-by: Ilan Peer <ilan.peer@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/ht.c')
0 files changed, 0 insertions, 0 deletions