mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ath9k: extend the phy error disable patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28383 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
bf2012d91a
commit
1cca29b84b
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user