madwifi: ignore the eeprom fast framing supported flag, as it is an arbitrary restriction and not based on hardware capability

SVN-Revision: 15763
lede-17.01
Felix Fietkau 2009-05-10 22:43:44 +00:00
parent 7f8cc3e7af
commit 37211157f6
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
@@ -915,7 +915,7 @@ ath_attach(u_int16_t devid, struct net_d
ic->ic_ath_cap = 0;
sc->sc_fftxqmin = ATH_FF_TXQMIN;
#ifdef ATH_SUPERG_FF
- ic->ic_ath_cap |= (ath_hal_fastframesupported(ah) ?
+ ic->ic_ath_cap |= (ah->ah_macType >= 5212 ?
IEEE80211_ATHC_FF : 0);
#endif
ic->ic_ath_cap |= (ath_hal_burstsupported(ah) ?