]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16f01a59ef4159eef9bee5bb63b35f29c8d5fc88
treedf99c019ce82ef67a2944c2b3db34cbc98f28943
parentb299856b37582e7f0974977c35e447144c1590e4
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