summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-08 13:41:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-08 13:41:04 +0000
commitfc4a6762702e86ceccb40e4ef6f7f9636f8b6688 (patch)
treeddb763ca39eb1bddb78b5f4aaf237a115eb73676
parentc674c874b7e739c210f09bb24c5c846e077bb297 (diff)
downloadmtk-20170518-fc4a6762702e86ceccb40e4ef6f7f9636f8b6688.zip
mtk-20170518-fc4a6762702e86ceccb40e4ef6f7f9636f8b6688.tar.gz
mtk-20170518-fc4a6762702e86ceccb40e4ef6f7f9636f8b6688.tar.bz2
ath9k: extend the phy error disable patch
SVN-Revision: 28383
-rw-r--r--package/mac80211/patches/552-ath9k_fix_phyerror.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/mac80211/patches/552-ath9k_fix_phyerror.patch b/package/mac80211/patches/552-ath9k_fix_phyerror.patch
index 4433ca5..3ef090e 100644
--- a/package/mac80211/patches/552-ath9k_fix_phyerror.patch
+++ b/package/mac80211/patches/552-ath9k_fix_phyerror.patch
@@ -14,3 +14,24 @@
| 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);