]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix channel context iteration
authorJohannes Berg <johannes.berg@intel.com>
Thu, 13 Dec 2012 16:42:30 +0000 (17:42 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:35 +0000 (13:01 +0100)
commit572b3ef8a4b1d5c0b8e141a2268dc890665fbce8
tree624695ba646281508490cb1737fb69d8174fa87a
parent6862f73d1814bc3c77949db422bbe65e92a7f0db
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>
include/net/mac80211.h
net/mac80211/chan.c
net/mac80211/driver-ops.h
net/mac80211/ieee80211_i.h