]> Pileus Git - ~andy/linux/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)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jan 2013 20:02:22 +0000 (15:02 -0500)
commit4668cce527acb3bd048c5e6c99b157a14b214671
tree33aadaddf6dbd9dba6af7cf1bd227f036b1b316d
parent463e3ed3eacc8f47866e5d612bd8ee0bcee5e2f0
ath9k: disable the tasklet before taking the PCU lock

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.

Cc: stable@vger.kernel.org
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>
drivers/net/wireless/ath/ath9k/main.c