openwrtv3/package/madwifi/patches/104-autocreate_none.patch

13 lines
459 B
Diff

Index: madwifi-ng-r2568-20070710/ath/if_ath.c
===================================================================
--- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-07-11 22:59:39.408094285 +0200
+++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-07-11 22:59:40.828175211 +0200
@@ -427,7 +427,7 @@
HAL_STATUS status;
int error = 0;
unsigned int i;
- int autocreatemode = IEEE80211_M_STA;
+ int autocreatemode = -1;
u_int8_t csz;
sc->devid = devid;