ath9k: disable phy error reporting on the rx queue to improve stability under noisy...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 552-ath9k_fix_phyerror.patch
1 --- a/drivers/net/wireless/ath/ath9k/recv.c
2 +++ b/drivers/net/wireless/ath/ath9k/recv.c
3 @@ -425,12 +425,9 @@ void ath_rx_cleanup(struct ath_softc *sc
4
5 u32 ath_calcrxfilter(struct ath_softc *sc)
6 {
7 -#define RX_FILTER_PRESERVE (ATH9K_RX_FILTER_PHYERR | ATH9K_RX_FILTER_PHYRADAR)
8 -
9 u32 rfilt;
10
11 - rfilt = (ath9k_hw_getrxfilter(sc->sc_ah) & RX_FILTER_PRESERVE)
12 - | ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST
13 + rfilt = ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST
14 | ATH9K_RX_FILTER_MCAST;
15
16 if (sc->rx.rxfilter & FIF_PROBE_REQ)