]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc7ca320fa0c1207153dc71f67d4b289d6488813
tree6caf7e007063f9ae6a16fdcb1912bf72d31237c2
parentd29294f23b0c645b5d53339567fe22a4154d5bfa
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