ath9k: fix DMA stop sequence for AR9003+
authorFelix Fietkau <nbd@openwrt.org>
Tue, 2 Jun 2015 08:38:32 +0000 (10:38 +0200)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:09:11 +0000 (13:09 +0000)
commit9290369b7ca873671875c34c11482a3e4d7aea0d
treedb4723347b1a417af44406c0bfee4c6124f3e55e
parentceea901c61ddb9218989df070b88e2fa44ea2da1
ath9k: fix DMA stop sequence for AR9003+

commit 300f77c08ded96d33f492aaa02549103852f0c12 upstream.

AR93xx and newer needs to stop rx before tx to avoid getting the DMA
engine or MAC into a stuck state.
This should reduce/fix the occurence of "Failed to stop Tx DMA" logspam.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/main.c