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

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent 441a33ba
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