From 9e8570e3c0950ff2ec56bc9f3d1e7d7530993d7d Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 10 May 2009 22:43:44 +0000 Subject: madwifi: ignore the eeprom fast framing supported flag, as it is an arbitrary restriction and not based on hardware capability git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15763 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/patches/427-ignore_eeprom_ff.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/madwifi/patches/427-ignore_eeprom_ff.patch (limited to 'package/madwifi/patches') diff --git a/package/madwifi/patches/427-ignore_eeprom_ff.patch b/package/madwifi/patches/427-ignore_eeprom_ff.patch new file mode 100644 index 0000000000..eead70c992 --- /dev/null +++ b/package/madwifi/patches/427-ignore_eeprom_ff.patch @@ -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) ? -- cgit v1.2.3