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
commitfc8658be6d1f0ed8e2eee24ccf289090465e6720 (patch)
tree3c4d928b9af8a53056dea57a2fbceab1b4c8a4d4 /package/madwifi/patches/104-autocreate_none.patch
parente579015bb4f31cc4303fdef7af888f0485a49de9 (diff)
downloadupstream-fc8658be6d1f0ed8e2eee24ccf289090465e6720.tar.gz
upstream-fc8658be6d1f0ed8e2eee24ccf289090465e6720.tar.bz2
upstream-fc8658be6d1f0ed8e2eee24ccf289090465e6720.zip
make kernel module packaging code reusable and use it in madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5189 3c298f89-4303-0410-b956-a3cf2f4a3e73
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;