aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/104-autocreate_none.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-17 16:13:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-17 16:13:10 +0000
commit547b127d7a3102e29c0dfdc25bee0dbab89b99bd (patch)
treeb2d558c741c6224edd8c6b399b1e3db935337c8f /package/madwifi/patches/104-autocreate_none.patch
parent92ced53400b669a55faf915599b402cf58b55b76 (diff)
downloadupstream-547b127d7a3102e29c0dfdc25bee0dbab89b99bd.tar.gz
upstream-547b127d7a3102e29c0dfdc25bee0dbab89b99bd.tar.bz2
upstream-547b127d7a3102e29c0dfdc25bee0dbab89b99bd.zip
make kernel module packaging code reusable and use it in madwifi
SVN-Revision: 5189
Diffstat (limited to 'package/madwifi/patches/104-autocreate_none.patch')
-rw-r--r--package/madwifi/patches/104-autocreate_none.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/madwifi/patches/104-autocreate_none.patch b/package/madwifi/patches/104-autocreate_none.patch
new file mode 100644
index 0000000000..d520b133c1
--- /dev/null
+++ b/package/madwifi/patches/104-autocreate_none.patch
@@ -0,0 +1,12 @@
+diff -urN madwifi-0.9.2.old/ath/if_ath.c madwifi-0.9.2.dev/ath/if_ath.c
+--- madwifi-0.9.2.old/ath/if_ath.c 2006-08-29 17:49:50.000000000 +0200
++++ madwifi-0.9.2.dev/ath/if_ath.c 2006-08-29 17:49:50.000000000 +0200
+@@ -387,7 +387,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;