diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-06-01 15:14:18 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-03 14:14:41 -0400 |
commit | 21d5130b8cb8e19a3e69e704aa29d918624fce49 (patch) | |
tree | 80b24c0e8dbe9f9f7e8ba80a1f1aa81f45cd8bfd /drivers/net/wireless/ath/ath9k/ani.c | |
parent | e9201f09ad4c6ef5f5b28d20b114a47bf57e72a3 (diff) | |
download | blackbird-obmc-linux-21d5130b8cb8e19a3e69e704aa29d918624fce49.tar.gz blackbird-obmc-linux-21d5130b8cb8e19a3e69e704aa29d918624fce49.zip |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ani.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ani.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ani.c b/drivers/net/wireless/ath/ath9k/ani.c index ba8b20f01594..3da820ffc65e 100644 --- a/drivers/net/wireless/ath/ath9k/ani.c +++ b/drivers/net/wireless/ath/ath9k/ani.c @@ -495,6 +495,7 @@ void ath9k_hw_disable_mib_counters(struct ath_hw *ah) REG_WRITE(ah, AR_FILT_OFDM, 0); REG_WRITE(ah, AR_FILT_CCK, 0); } +EXPORT_SYMBOL(ath9k_hw_disable_mib_counters); u32 ath9k_hw_GetMibCycleCountsPct(struct ath_hw *ah, u32 *rxc_pcnt, |