667f026c5c385407e3e20d61fc145cb3dfdc25d2
[openwrt/openwrt.git] / package / madwifi / patches / 104-autocreate_none.patch
1 Index: madwifi-ng-r2568-20070710/ath/if_ath.c
2 ===================================================================
3 --- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-07-23 01:48:38.770189557 +0200
4 +++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-07-23 01:48:40.226272533 +0200
5 @@ -427,7 +427,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;