]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mac80211: fix notify_mac function
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 11 Nov 2008 10:28:04 +0000 (11:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Nov 2008 21:49:53 +0000 (16:49 -0500)
commitdb7fb86b0ca565cf3537401612581a8158025cc2
tree67da233b8a1958328eb73d39ceecf6fc11c8b30a
parent8f7c41d4cec91cdbfa89b4a77d5a628938875366
mac80211: fix notify_mac function

The ieee80211_notify_mac() function uses ieee80211_sta_req_auth() which
in turn calls ieee80211_set_disassoc() which calls a few functions that
need to be able to sleep, so ieee80211_notify_mac() cannot use RCU
locking for the interface list and must use rtnl locking instead.

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