aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2008-02-22 16:42:44 +0000
committerTravis Kemen <thepeople@openwrt.org>2008-02-22 16:42:44 +0000
commita681b776429f3cbcc2597f9aa505dbecabc421da (patch)
tree3110b4a785ef938da987ef917ce96b0da6cdb79a
parent03569e463685d9c78116058d83074bf7e5e90818 (diff)
downloadupstream-a681b776429f3cbcc2597f9aa505dbecabc421da.tar.gz
upstream-a681b776429f3cbcc2597f9aa505dbecabc421da.tar.bz2
upstream-a681b776429f3cbcc2597f9aa505dbecabc421da.zip
madwifi 2.6.24 compile fix Signed-off-by: Alexandros C. Couloumbis <alex@ozo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10517 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/madwifi/patches/334-2.6.24_compile_fix.patch15
1 files changed, 15 insertions, 0 deletions
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;