]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k: disable the tasklet before taking the PCU lock
authorFelix Fietkau <nbd@openwrt.org>
Mon, 14 Jan 2013 15:56:46 +0000 (16:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 00:27:03 +0000 (18:27 -0600)
commit94076a8cfd22ee8ab5e299bd3f5f603b60976a6d
tree5bebdf6b0bde7981e4937a82be7849d4884e4c4f
parente6dfa60488226d35f04b21f760cb17b05481ebe5
ath9k: disable the tasklet before taking the PCU lock

commit 4668cce527acb3bd048c5e6c99b157a14b214671 upstream.

Fixes a reported CPU soft lockup where the tasklet tries to acquire the
lock and blocks while ath_prepare_reset (holding the lock) waits for it
to complete.

Reported-by: Robert Shade <robert.shade@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/main.c