]> git.baikalelectronics.ru Git - kernel.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)
commitc6a607e3cb3d551e447db478804001d41c85f835
tree4c607b2e053f7f5a4f4d1a10b46d949ba42b5f50
parent21eeb5ab9c1fe1708accb3407bcd475d1f9c7158
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