mac80211: sta_info_flush() fixes
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 31 Mar 2008 17:23:03 +0000 (19:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Apr 2008 21:14:10 +0000 (17:14 -0400)
commitdc6676b7f2c2072ec05254aaca32e99f87a8a417
tree6caf7e007063f9ae6a16fdcb1912bf72d31237c2
parent4f6fab472c4c7c21d577f85fabec7628d4a05637
mac80211: sta_info_flush() fixes

When the IBSS code tries to flush the STA list, it does so in
an atomic context. Flushing isn't safe there, however, and
requires the RTNL, so we need to defer it to a workqueue.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/ieee80211_sta.c
net/mac80211/key.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h