]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit953996a072ce6ec1182432cdbcd6bd47693ad83f
tree68cbd59f828ec6e25ab33eea0092f6ae8dd090ed
parent33fba7682ae1f633dcc94dbb23497c7cfc3306f1
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