diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mac.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.c b/drivers/net/wireless/ath/ath9k/mac.c index c003baf2e93..b54e857c031 100644 --- a/drivers/net/wireless/ath/ath9k/mac.c +++ b/drivers/net/wireless/ath/ath9k/mac.c | |||
@@ -747,6 +747,14 @@ void ath9k_hw_stoppcurecv(struct ath_hw *ah) | |||
747 | } | 747 | } |
748 | EXPORT_SYMBOL(ath9k_hw_stoppcurecv); | 748 | EXPORT_SYMBOL(ath9k_hw_stoppcurecv); |
749 | 749 | ||
750 | void ath9k_hw_abortpcurecv(struct ath_hw *ah) | ||
751 | { | ||
752 | REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_ABORT | AR_DIAG_RX_DIS); | ||
753 | |||
754 | ath9k_hw_disable_mib_counters(ah); | ||
755 | } | ||
756 | EXPORT_SYMBOL(ath9k_hw_abortpcurecv); | ||
757 | |||
750 | bool ath9k_hw_stopdmarecv(struct ath_hw *ah) | 758 | bool ath9k_hw_stopdmarecv(struct ath_hw *ah) |
751 | { | 759 | { |
752 | #define AH_RX_STOP_DMA_TIMEOUT 10000 /* usec */ | 760 | #define AH_RX_STOP_DMA_TIMEOUT 10000 /* usec */ |