]> 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)
commiteec430e43d13d00e7aaa33b9cb990fa1ad645141
tree33aadaddf6dbd9dba6af7cf1bd227f036b1b316d
parent5b5b10e108bff677dbf73814803017f40bfbfade
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