summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/423-phyerr_handling.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-31 02:25:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-31 02:25:32 +0000
commit26099a3c2345d6fc4abbcbc08f58db15ea04577d (patch)
treea5b51ee707244e5675ccbab468024e45801eb33e /package/madwifi/patches/423-phyerr_handling.patch
parentd0b60d14ea3ced4a60015cc4d6443369c749d342 (diff)
downloadmtk-20170518-26099a3c2345d6fc4abbcbc08f58db15ea04577d.zip
mtk-20170518-26099a3c2345d6fc4abbcbc08f58db15ea04577d.tar.gz
mtk-20170518-26099a3c2345d6fc4abbcbc08f58db15ea04577d.tar.bz2
madwifi: add better hw detection, use a power offset for setting/getting tx power for cards that have a twisted eeprom
SVN-Revision: 16224
Diffstat (limited to 'package/madwifi/patches/423-phyerr_handling.patch')
-rw-r--r--package/madwifi/patches/423-phyerr_handling.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/patches/423-phyerr_handling.patch b/package/madwifi/patches/423-phyerr_handling.patch
index b5059af..7f3cbaf 100644
--- a/package/madwifi/patches/423-phyerr_handling.patch
+++ b/package/madwifi/patches/423-phyerr_handling.patch
@@ -1,6 +1,6 @@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
-@@ -4390,13 +4390,12 @@ ath_key_update_end(struct ieee80211vap *
+@@ -4391,13 +4391,12 @@ ath_key_update_end(struct ieee80211vap *
static u_int32_t
ath_calcrxfilter(struct ath_softc *sc)
{
@@ -15,7 +15,7 @@
HAL_RX_FILTER_UCAST | HAL_RX_FILTER_BCAST |
HAL_RX_FILTER_MCAST;
if (ic->ic_opmode != IEEE80211_M_STA)
-@@ -4415,9 +4414,8 @@ ath_calcrxfilter(struct ath_softc *sc)
+@@ -4416,9 +4415,8 @@ ath_calcrxfilter(struct ath_softc *sc)
if (sc->sc_hasintmit && !sc->sc_needmib && ath_hal_getintmit(ah, NULL))
rfilt |= HAL_RX_FILTER_PHYERR;
if (sc->sc_curchan.privFlags & CHANNEL_DFS)