madwifi: add 0.9.4 madwifi as a menuconfig option, as requested in some mails/tickets
[openwrt-10.03/.git] / package / madwifi / patches-upstream / 104-autocreate_none.patch
1 Index: madwifi-0.9.4/ath/if_ath.c
2 ===================================================================
3 --- madwifi-0.9.4.old/ath/if_ath.c      2008-02-13 06:13:10.000000000 +0100
4 +++ madwifi-0.9.4/ath/if_ath.c  2008-05-06 10:25:15.000000000 +0200
5 @@ -404,7 +404,7 @@
6         struct ath_hal *ah;
7         HAL_STATUS status;
8         int error = 0, i;
9 -       int autocreatemode = IEEE80211_M_STA;
10 +       int autocreatemode = -1;
11         u_int8_t csz;
12  
13         sc->devid = devid;