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)
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>

No differences found