ath9k: extend the phy error disable patch
authorFelix Fietkau <nbd@openwrt.org>
Sat, 8 Oct 2011 13:41:04 +0000 (13:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 8 Oct 2011 13:41:04 +0000 (13:41 +0000)
SVN-Revision: 28383

package/mac80211/patches/552-ath9k_fix_phyerror.patch

index 4433ca502ff938927ad92fa99763889f0a829536..3ef090e721cd29454335ab04e373711b772143d2 100644 (file)
                | ATH9K_RX_FILTER_MCAST;
  
        if (sc->rx.rxfilter & FIF_PROBE_REQ)
+--- a/drivers/net/wireless/ath/ath9k/ani.c
++++ b/drivers/net/wireless/ath/ath9k/ani.c
+@@ -502,9 +502,6 @@ static void ath9k_ani_reset_old(struct a
+               ath9k_hw_ani_control(ah, ATH9K_ANI_CCK_WEAK_SIGNAL_THR,
+                                    ATH9K_ANI_CCK_WEAK_SIG_THR);
+-              ath9k_hw_setrxfilter(ah, ath9k_hw_getrxfilter(ah) |
+-                                   ATH9K_RX_FILTER_PHYERR);
+-
+               ath9k_ani_restart(ah);
+               return;
+       }
+@@ -525,8 +522,6 @@ static void ath9k_ani_reset_old(struct a
+               ath9k_hw_ani_control(ah, ATH9K_ANI_FIRSTEP_LEVEL,
+                                    aniState->firstepLevel);
+-      ath9k_hw_setrxfilter(ah, ath9k_hw_getrxfilter(ah) &
+-                           ~ATH9K_RX_FILTER_PHYERR);
+       ath9k_ani_restart(ah);
+       ENABLE_REGWRITE_BUFFER(ah);