mac80211: use spin_lock_bh() for TKIP lock
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Feb 2013 17:03:00 +0000 (18:03 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:13 +0000 (09:41 +0100)
commit03395003bf8ac813b1a0ac9299b3496484caf228
tree68cbd59f828ec6e25ab33eea0092f6ae8dd090ed
parent65f704a52ec5db356c58f8ba53a31d3aef02737f
mac80211: use spin_lock_bh() for TKIP lock

Since no driver calls the TKIP functions from interrupt
context, there's no need to use spin_lock_irqsave().
Just use spin_lock_bh() (and spin_lock() in the TX path
where we're in a BH or they're already disabled.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tkip.c
net/mac80211/wpa.c