commit | 03395003bf8ac813b1a0ac9299b3496484caf228 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Feb 13 18:03:00 2013 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Feb 15 09:41:13 2013 +0100 |
tree | 68cbd59f828ec6e25ab33eea0092f6ae8dd090ed | |
parent | 65f704a52ec5db356c58f8ba53a31d3aef02737f [diff] |
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>