diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-12-13 17:42:30 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-03 13:01:35 +0100 |
commit | 8a61af65c6d03781015315dbc43d0942a5b31db9 (patch) | |
tree | 624695ba646281508490cb1737fb69d8174fa87a /net/mac80211/ieee80211_i.h | |
parent | 529ba6e9313dbe60dab7e72c6fdf647a012e9f5b (diff) | |
download | op-kernel-dev-8a61af65c6d03781015315dbc43d0942a5b31db9.zip op-kernel-dev-8a61af65c6d03781015315dbc43d0942a5b31db9.tar.gz |
mac80211: fix channel context iteration
During suspend/resume channel contexts might be
iterated even if they haven't been re-added to
the driver, keep track of this and skip them in
iteration. Also use the new status for sanity
checks.
Also clarify the fact that during HW restart all
contexts are iterated over (thanks Eliad.)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 38e7883..2316118 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -685,6 +685,7 @@ struct ieee80211_chanctx { enum ieee80211_chanctx_mode mode; int refcount; + bool driver_present; struct ieee80211_chanctx_conf conf; }; |