]> git.baikalelectronics.ru Git - kernel.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)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jan 2013 20:02:22 +0000 (15:02 -0500)
commit1623cd6c558dd3e1e964218e4d7dfc9f0529bf42
tree33aadaddf6dbd9dba6af7cf1bd227f036b1b316d
parente20828ff175d5101c1af461782e14a753b621a5f
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