summaryrefslogtreecommitdiff
path: root/openwrt/package/madwifi/patches/104-apmode_by_default.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-31 14:32:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-31 14:32:17 +0000
commit7e04fed0e602b67026842fdc7ede04a61ac5c308 (patch)
tree5371413bdf22d877bf53ce91647093e1517b7b57 /openwrt/package/madwifi/patches/104-apmode_by_default.patch
parent0f0e7352b544482fa3c19f6881f7286ef0a46fef (diff)
downloadmtk-20170518-7e04fed0e602b67026842fdc7ede04a61ac5c308.zip
mtk-20170518-7e04fed0e602b67026842fdc7ede04a61ac5c308.tar.gz
mtk-20170518-7e04fed0e602b67026842fdc7ede04a61ac5c308.tar.bz2
kernel package cleanup, move madwifi from target/linux/package/ to package/, update to 0.9.0
SVN-Revision: 3860
Diffstat (limited to 'openwrt/package/madwifi/patches/104-apmode_by_default.patch')
-rw-r--r--openwrt/package/madwifi/patches/104-apmode_by_default.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/madwifi/patches/104-apmode_by_default.patch b/openwrt/package/madwifi/patches/104-apmode_by_default.patch
new file mode 100644
index 0000000..bce07b5
--- /dev/null
+++ b/openwrt/package/madwifi/patches/104-apmode_by_default.patch
@@ -0,0 +1,12 @@
+diff -ruN madwifi-ng-r1486-20060329/ath/if_ath.c madwifi-ng-r1486-20060329-patch/ath/if_ath.c
+--- madwifi-ng-r1486-20060329/ath/if_ath.c 2006-03-23 15:12:18.000000000 -0500
++++ madwifi-ng-r1486-20060329-patch/ath/if_ath.c 2006-03-31 11:00:30.000000000 -0500
+@@ -388,7 +388,7 @@
+ struct ath_hal *ah;
+ HAL_STATUS status;
+ int error = 0, i;
+- int autocreatemode = IEEE80211_M_STA;
++ int autocreatemode = IEEE80211_M_HOSTAP;
+ u_int8_t csz;
+
+ sc->devid = devid;