From fafda593a90808675981bdc412beb817e647553e Mon Sep 17 00:00:00 2001 From: Travis Kemen Date: Fri, 22 Feb 2008 16:42:44 +0000 Subject: madwifi 2.6.24 compile fix Signed-off-by: Alexandros C. Couloumbis SVN-Revision: 10517 --- package/madwifi/patches/334-2.6.24_compile_fix.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 package/madwifi/patches/334-2.6.24_compile_fix.patch (limited to 'package/madwifi/patches') diff --git a/package/madwifi/patches/334-2.6.24_compile_fix.patch b/package/madwifi/patches/334-2.6.24_compile_fix.patch new file mode 100644 index 0000000000..fa44d60963 --- /dev/null +++ b/package/madwifi/patches/334-2.6.24_compile_fix.patch @@ -0,0 +1,15 @@ +Index: madwifi-trunk-r3314/ath/if_ath.c +=================================================================== +--- madwifi-trunk-r3314/ath/if_ath.c.orig 2008-02-22 11:10:54.000000000 +0200 ++++ madwifi-trunk-r3314/ath/if_ath.c 2008-02-22 11:12:17.000000000 +0200 +@@ -6468,9 +6468,9 @@ + u_int rx_limit = budget; + #else + u_int rx_limit = dev->quota; ++ struct ath_softc *sc = dev->priv; + #endif + struct ath_buf *bf; +- struct ath_softc *sc = dev->priv; + struct ieee80211com *ic = &sc->sc_ic; + struct ath_hal *ah = sc ? sc->sc_ah : NULL; + struct ath_desc *ds; -- cgit v1.2.3