madwifi: add better hw detection, use a power offset for setting/getting tx power...
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 423-phyerr_handling.patch
index b5059af6255bcb0cc1a5f053b240c575317a3303..7f3cbafe23a2ea6aab1db0bbbe8964a700ac4d7a 100644 (file)
@@ -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)