ath9k_htc: Handle host RX disable
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 1 Jun 2010 09:44:18 +0000 (15:14 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Jun 2010 18:14:41 +0000 (14:14 -0400)
commit21d5130b8cb8e19a3e69e704aa29d918624fce49
tree80b24c0e8dbe9f9f7e8ba80a1f1aa81f45cd8bfd
parente9201f09ad4c6ef5f5b28d20b114a47bf57e72a3
ath9k_htc: Handle host RX disable

The MIB counters used by ANI have to be disabled
on the host because the FW doesn't do it on the target side.
Also, flush the receive buffers before initializing
RX on the target.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ani.c
drivers/net/wireless/ath/ath9k/htc_drv_main.c