update madwifi to latest rev - works around some crashiness
[openwrt-10.03/.git] / package / madwifi / patches / 104-autocreate_none.patch
1 Index: madwifi-ng-r2834-20071106/ath/if_ath.c
2 ===================================================================
3 --- madwifi-ng-r2834-20071106.orig/ath/if_ath.c 2007-11-07 14:01:59.713354541 +0100
4 +++ madwifi-ng-r2834-20071106/ath/if_ath.c      2007-11-07 14:02:00.533401273 +0100
5 @@ -426,7 +426,7 @@
6         HAL_STATUS status;
7         int error = 0;
8         unsigned int i;
9 -       int autocreatemode = IEEE80211_M_STA;
10 +       int autocreatemode = -1;
11         u_int8_t csz;
12  
13         sc->devid = devid;