madwifi: ignore the eeprom fast framing supported flag, as it is an arbitrary restric...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 May 2009 22:43:44 +0000 (22:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 10 May 2009 22:43:44 +0000 (22:43 +0000)
SVN-Revision: 15763

package/madwifi/patches/427-ignore_eeprom_ff.patch [new file with mode: 0644]

diff --git a/package/madwifi/patches/427-ignore_eeprom_ff.patch b/package/madwifi/patches/427-ignore_eeprom_ff.patch
new file mode 100644 (file)
index 0000000..eead70c
--- /dev/null
@@ -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) ?