madwifi: nuke some weird code which is causing NULL nodes to appear
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 104-autocreate_none.patch
1 Index: madwifi-dfs-r3053/ath/if_ath.c
2 ===================================================================
3 --- madwifi-dfs-r3053.orig/ath/if_ath.c 2007-12-13 05:25:10.754238316 +0100
4 +++ madwifi-dfs-r3053/ath/if_ath.c 2007-12-13 05:25:11.582285503 +0100
5 @@ -512,7 +512,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;