mac80211: use spin_lock_bh() for tim_lock
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Feb 2013 16:39:53 +0000 (17:39 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:12 +0000 (09:41 +0100)
commit65f704a52ec5db356c58f8ba53a31d3aef02737f
treebc5e0d6388005a74f4becc5ecf83713c8ea744c9
parent441a33baf1805861354fb9e3149c000311b6996f
mac80211: use spin_lock_bh() for tim_lock

There's no need to use _irqsave() as the lock
is never used in interrupt context.

This also fixes a problem in the iwlwifi MVM
driver that calls spin_unlock_bh() within its
set_tim() callback.

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