mac80211: fix todo lock
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 1 Jul 2009 19:26:43 +0000 (21:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 17 Aug 2009 17:38:34 +0000 (13:38 -0400)
commit523d2f6982136d332c9b7dd00e9e16da1091f060
treeb2bd70e0e6c5ffe285a2464003fde157d7bbdc7b
parent8cdb045632e5ee22854538619ac6f150eb0a4894
mac80211: fix todo lock

The key todo lock can be taken from different locks
that require it to be _bh to avoid lock inversion
due to (soft)irqs.

This should fix the two problems reported by Bob and
Gabor:
http://mid.gmane.org/20090619113049.GB18956@hash.localnet
http://mid.gmane.org/4A3FA376.8020307@openwrt.org

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Bob Copeland <me@bobcopeland.com>
Cc: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/key.c