]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: fix spinlock recursion
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 11 Apr 2008 19:40:35 +0000 (21:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Apr 2008 19:59:57 +0000 (15:59 -0400)
commitb16bd15c379410f2aa47837aa4a0de5712856ad5
treefd391bb12b146aaf001ae169a4c98f7088299edd
parent6b914c521687ae6cb8923c7235fd69b7bc027703
mac80211: fix spinlock recursion

When STAs are expired, we need to hold the sta_lock. Using
the same lock for keys too would then mean we'd need another
key free function, and that'll just lead to confusion, so just
use a new spinlock for all key lists.

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