From: Johannes Berg Date: Fri, 22 Feb 2013 11:55:01 +0000 (+0100) Subject: mac80211: fix tim_lock locking X-Git-Tag: v3.9-rc2~24^2~15^2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b91731d23a3dd8e8d7e3ee21b8c6d6d4cde62c1;p=pandora-kernel.git 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: Johannes Berg --- Reading git-diff-tree failed