ath9k: fix AR_RX_FILTER for ar9462/ar9565 when rx stopped
authorMiaoqing Pan <miaoqing@qca.qualcomm.com>
Thu, 20 Aug 2015 01:21:38 +0000 (09:21 +0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Dec 2015 12:08:57 +0000 (14:08 +0200)
commitf0b2c30a20299083665f3f14870ff5ce631d32ef
treef4cac11ba534f11321d7c9398cb9f64672bf729c
parentefc2b2b50c92c72916608b0e7d74651471fe5dd7
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>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/recv.c