diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-06 11:36:10 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-06 11:36:10 +0000 |
commit | 8dddc6f30bc797eb55e4a6d10f5bd0adc0582623 (patch) | |
tree | c0e187b40b5b586f244b269ad1d2bfd6cc7bbe42 /openwrt/target/linux/package/madwifi/patches/104-apmode_by_default.patch | |
parent | 0c86647fe03297fbfa494533ea1fce336bd4bb74 (diff) |
patch madwifi-ng to use master mode by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3162 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/package/madwifi/patches/104-apmode_by_default.patch')
-rw-r--r-- | openwrt/target/linux/package/madwifi/patches/104-apmode_by_default.patch | 12 |
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 0000000000..345e757cca --- /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; |