madwifi: add 0.9.4 madwifi as a menuconfig option, as requested in some mails/tickets
[openwrt-10.03/.git] / package / madwifi / patches-upstream / 104-autocreate_none.patch
diff --git a/package/madwifi/patches-upstream/104-autocreate_none.patch b/package/madwifi/patches-upstream/104-autocreate_none.patch
new file mode 100644 (file)
index 0000000..e290f86
--- /dev/null
@@ -0,0 +1,13 @@
+Index: madwifi-0.9.4/ath/if_ath.c
+===================================================================
+--- madwifi-0.9.4.old/ath/if_ath.c     2008-02-13 06:13:10.000000000 +0100
++++ madwifi-0.9.4/ath/if_ath.c 2008-05-06 10:25:15.000000000 +0200
+@@ -404,7 +404,7 @@
+       struct ath_hal *ah;
+       HAL_STATUS status;
+       int error = 0, i;
+-      int autocreatemode = IEEE80211_M_STA;
++      int autocreatemode = -1;
+       u_int8_t csz;
+       sc->devid = devid;