ath9k: fix DMA stop sequence for AR9003+
authorFelix Fietkau <nbd@openwrt.org>
Tue, 2 Jun 2015 08:38:32 +0000 (10:38 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Jun 2015 08:39:58 +0000 (11:39 +0300)
commit300f77c08ded96d33f492aaa02549103852f0c12
tree646f40d7b20669c4599c0175f275b7bbda875d03
parentf2a800f5be75b0cc9cb436608d96b2703536480a
ath9k: fix DMA stop sequence for AR9003+

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.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/main.c