aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches-upstream/104-autocreate_none.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-31 17:27:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-31 17:27:55 +0000
commit0cc9c8bf11658dc3bc77e58cf231fa1178e42eea (patch)
treee5f860cbe4a61f6a7c2b47f582d982b9b04511d2 /package/madwifi/patches-upstream/104-autocreate_none.patch
parent839c3365d067f58c5d72b761f9d8904ce34b3e72 (diff)
downloadmaster-187ad058-0cc9c8bf11658dc3bc77e58cf231fa1178e42eea.tar.gz
master-187ad058-0cc9c8bf11658dc3bc77e58cf231fa1178e42eea.tar.bz2
master-187ad058-0cc9c8bf11658dc3bc77e58cf231fa1178e42eea.zip
madwifi: add 0.9.4 madwifi as a menuconfig option, as requested in some mails/tickets
untested, does not work with 2.6.26 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12047 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches-upstream/104-autocreate_none.patch')
-rw-r--r--package/madwifi/patches-upstream/104-autocreate_none.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/madwifi/patches-upstream/104-autocreate_none.patch b/package/madwifi/patches-upstream/104-autocreate_none.patch
new file mode 100644
index 0000000000..e290f86ffc
--- /dev/null
+++ b/package/madwifi/patches-upstream/104-autocreate_none.patch
@@ -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;