From: Johannes Berg Date: Mon, 6 May 2013 13:54:58 +0000 (+0200) Subject: mac80211: use just spin_lock() in ieee80211_get_tkip_p2k() X-Git-Tag: v3.10-rc3~18^2~18^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=655914ab863bcc06c84270e4159fd59002d6b529;p=pandora-kernel.git 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: Milan Kocian Acked-by: Stanislaw Gruszka Signed-off-by: Johannes Berg --- Reading git-diff-tree failed