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

mac80211: fix tim_lock locking



The ieee80211_beacon_add_tim() function might be called
by drivers with BHs enabled, which causes a potential
deadlock if TX happens at the same time and attempts to
lock the tim_lock as well. Use spin_lock_bh to fix it.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent dc4a787c
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