ath9k: stop rx after tx
authorFelix Fietkau <nbd@openwrt.org>
Sun, 20 Jan 2013 17:51:52 +0000 (18:51 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Jan 2013 21:02:15 +0000 (16:02 -0500)
commit0a62acb1c9da58b54cb1c9fa6604a36507a61d48
tree11e6a10c90ea1b98d31fe5c5d257d240c442001b
parenteee569e403861392dc693ab984ede5f0610dde29
ath9k: stop rx after tx

Completing frame transmission can fail if the rx engine is stopped
prematurely, as the hw might be waiting for an ACK from the other side.
Shutting down tx before rx might make the DMA shutdown more reliable.

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