madwifi 2.6.24 compile fix Signed-off-by: Alexandros C. Couloumbis <alex@ozo.com>
[openwrt.git] / package / madwifi / patches / 334-2.6.24_compile_fix.patch
1 Index: madwifi-trunk-r3314/ath/if_ath.c
2 ===================================================================
3 --- madwifi-trunk-r3314/ath/if_ath.c.orig 2008-02-22 11:10:54.000000000 +0200
4 +++ madwifi-trunk-r3314/ath/if_ath.c      2008-02-22 11:12:17.000000000 +0200
5 @@ -6468,9 +6468,9 @@
6         u_int rx_limit = budget;
7  #else
8         u_int rx_limit = dev->quota;
9 +       struct ath_softc *sc = dev->priv;
10  #endif
11         struct ath_buf *bf;
12 -       struct ath_softc *sc = dev->priv;
13         struct ieee80211com *ic = &sc->sc_ic;
14         struct ath_hal *ah = sc ? sc->sc_ah : NULL;
15         struct ath_desc *ds;