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

14 lines
459 B
Diff
Raw Normal View History

Index: madwifi-ng-r2525-20070630/ath/if_ath.c
===================================================================
--- madwifi-ng-r2525-20070630.orig/ath/if_ath.c 2007-07-03 23:02:26.289686750 +0200
+++ madwifi-ng-r2525-20070630/ath/if_ath.c 2007-07-03 23:02:28.081798750 +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;
2006-04-01 00:55:02 +08:00
sc->devid = devid;