Skip to content
Snippets Groups Projects
Commit 655914ab authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: use just spin_lock() in ieee80211_get_tkip_p2k()


ieee80211_get_tkip_p2k() may be called with interrupts
disabled, so spin_unlock_bh() isn't safe and leads to
warnings. Since it's always called with BHs disabled
already, just use spin_lock().

Cc: stable@vger.kernel.org
Reported-by: default avatarMilan Kocian <milon@wq.cz>
Acked-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent f6b3d85f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment