Skip to content
Commit 03395003 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent 65f704a5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment