ath9k: stop rx dma before stopping tx
authorFelix Fietkau <nbd@openwrt.org>
Thu, 24 May 2012 12:32:19 +0000 (14:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 May 2012 17:45:22 +0000 (13:45 -0400)
commitceea2a51969f8b578777c99ec2718021427770c3
treedf99c019ce82ef67a2944c2b3db34cbc98f28943
parent9b4760e301e1cceb0b49bd2b921d6b394d364584
ath9k: stop rx dma before stopping tx

It has been found that active Rx can interfere with stopping tx DMA, which
could result in at least parts of those "Failed to stop Tx DMA!" messages.
Stopping rx before tx should prevent that.

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