[package] madwifi: remove cruft from madwifi.sh introduced by r15954, thanks Vasilis...
[openwrt.git] / package / madwifi / patches / 427-ignore_eeprom_ff.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -915,7 +915,7 @@ ath_attach(u_int16_t devid, struct net_d
4         ic->ic_ath_cap = 0;
5         sc->sc_fftxqmin = ATH_FF_TXQMIN;
6  #ifdef ATH_SUPERG_FF
7 -       ic->ic_ath_cap |= (ath_hal_fastframesupported(ah) ? 
8 +       ic->ic_ath_cap |= (ah->ah_macType >= 5212 ?
9                         IEEE80211_ATHC_FF : 0);
10  #endif
11         ic->ic_ath_cap |= (ath_hal_burstsupported(ah) ?