]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix timeout on stopping rx dma
authorFelix Fietkau <nbd@openwrt.org>
Sat, 20 Nov 2010 02:08:47 +0000 (03:08 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Nov 2010 20:19:31 +0000 (15:19 -0500)
commit0aae9dbfcd99a33d8f03c6c81a087e5c9fb5afda
treed494b2054a2b02e2cf0e3bdfdac16131f1a492c8
parent922f9c84f67e0c447087b2aab5aea275f522937c
ath9k: fix timeout on stopping rx dma

It seems that using ath9k_hw_stoppcurecv to stop rx dma is not enough.
When it's time to stop DMA, the PCU is still busy, so the rx enable
bit never clears.
Using ath9k_hw_abortpcurecv helps with getting rx stopped much faster,
with this change, I cannot reproduce the rx stop related WARN_ON anymore.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c