summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2006-02-06 11:36:10 +0000
committerImre Kaloz <kaloz@openwrt.org>2006-02-06 11:36:10 +0000
commita58b362484e618a136fa9bf7c65f8fe3034dea60 (patch)
treeb77778fe1e6183224dac6e6d96b7d789bdfab75b /openwrt
parentf899e1bc452ec65e58cbeff9a0f8f79e8d1eeec7 (diff)
downloadmtk-20170518-a58b362484e618a136fa9bf7c65f8fe3034dea60.zip
mtk-20170518-a58b362484e618a136fa9bf7c65f8fe3034dea60.tar.gz
mtk-20170518-a58b362484e618a136fa9bf7c65f8fe3034dea60.tar.bz2
patch madwifi-ng to use master mode by default
SVN-Revision: 3162
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/target/linux/package/madwifi/patches/104-apmode_by_default.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/madwifi/patches/104-apmode_by_default.patch b/openwrt/target/linux/package/madwifi/patches/104-apmode_by_default.patch
new file mode 100644
index 0000000..345e757
--- /dev/null
+++ b/openwrt/target/linux/package/madwifi/patches/104-apmode_by_default.patch
@@ -0,0 +1,12 @@
+diff -ur madwifi-ng-r1416-20060126/ath/if_ath.c madwifi-ng-r1416-20060126.openwrt/ath/if_ath.c
+--- madwifi-ng-r1416-20060126/ath/if_ath.c 2006-01-23 08:07:51.000000000 +0100
++++ madwifi-ng-r1416-20060126.openwrt/ath/if_ath.c 2006-02-06 12:29:42.000000000 +0100
+@@ -391,7 +391,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->sc_debug = ath_debug;