summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-03-12 08:53:26 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-03-16 09:36:12 +0100
commitf84eaa1068315409ffbef57e6fea312180787db3 (patch)
tree1c0bc72f63876fc2dbbcf88135d87f77f0dc0d86 /net/mac80211/ieee80211_i.h
parent496fcc294daab18799e190c0264863d653588d1f (diff)
downloadop-kernel-dev-f84eaa1068315409ffbef57e6fea312180787db3.zip
op-kernel-dev-f84eaa1068315409ffbef57e6fea312180787db3.tar.gz
mac80211: ignore CSA to same channel
If the AP is confused and starts doing a CSA to the same channel, just ignore that request instead of trying to act it out since it was likely sent in error anyway. In the case of the bug I was investigating the GO was misbehaving and sending out a beacon with CSA IEs still included after having actually done the channel switch. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index c0e089c..8d53d65 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -464,6 +464,7 @@ struct ieee80211_if_managed {
unsigned int flags;
bool csa_waiting_bcn;
+ bool csa_ignored_same_chan;
bool beacon_crc_valid;
u32 beacon_crc;
OpenPOWER on IntegriCloud