diff options
author | Miaoqing Pan <miaoqing@qca.qualcomm.com> | 2015-08-20 09:21:38 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2015-12-11 14:08:57 +0200 |
commit | f0b2c30a20299083665f3f14870ff5ce631d32ef (patch) | |
tree | f4cac11ba534f11321d7c9398cb9f64672bf729c /drivers/net/wireless/ath/ath9k/hw.c | |
parent | efc2b2b50c92c72916608b0e7d74651471fe5dd7 (diff) | |
download | linux-f0b2c30a20299083665f3f14870ff5ce631d32ef.tar.bz2 |
ath9k: fix AR_RX_FILTER for ar9462/ar9565 when rx stopped
When rx stopped, AR_RX_FILTER should be cleared, but in
ath9k_hw_setrxfilter(), ATH9K_RX_FILTER_CONTROL_WRAPPER will always
be set for ar9462/ar9565.
Fix this by moving the code in ath9k_hw_setrxfilter() to
ath_calcrxfilter().
Signed-off-by: Miaoqing Pan <miaoqing@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 2e252af0b26a..257f46ed4a04 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -2761,9 +2761,6 @@ void ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits) ENABLE_REGWRITE_BUFFER(ah); - if (AR_SREV_9462(ah) || AR_SREV_9565(ah)) - bits |= ATH9K_RX_FILTER_CONTROL_WRAPPER; - REG_WRITE(ah, AR_RX_FILTER, bits); phybits = 0; |