]> bbs.cooldavid.org Git - net-next-2.6.git/commit
mac80211: fix IBSS code to not sleep while atomic
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 20 Apr 2009 22:30:49 +0000 (00:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:57:19 +0000 (16:57 -0400)
commit29b4a4f7c7b588b5568edd0da42f38623b81fc66
tree4c607b2e053f7f5a4f4d1a10b46d949ba42b5f50
parent0cf4c01ebe2ccf4487fe9301bab905365dca06c3
mac80211: fix IBSS code to not sleep while atomic

With the RCU locking here we sleep while in an atomic context,
since we can sleep just use mutex locking for the interface
list instead of RCU. Sorry, seems I didn't get that in my UML
test.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c