From: Michael Buesch Date: Sun, 24 Jan 2010 12:13:32 +0000 (+0100) Subject: b43: Workaround circular locking in hw-tkip key update callback X-Git-Tag: v2.6.34-rc1~233^2~421^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96869a39399269a776a94812e9fff3d38b47d838;p=pandora-kernel.git b43: Workaround circular locking in hw-tkip key update callback The TKIP key update callback is called from the RX path, where the driver mutex is already locked. This results in a circular locking bug. Avoid this by removing the lock. Johannes noted that there is a separate bug: The callback still breaks on SDIO hardware, because SDIO hardware access needs to sleep, but we are not allowed to sleep in the callback due to mac80211's RCU locking. Signed-off-by: Michael Buesch Tested-by: Larry Finger Reported-by: kecsa@kutfo.hit.bme.hu Cc: Johannes Berg Cc: stable Signed-off-by: John W. Linville --- Reading git-diff-tree failed