patch madwifi-ng to use master mode by default
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Feb 2006 11:36:10 +0000 (11:36 +0000)
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Feb 2006 11:36:10 +0000 (11:36 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3162 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/package/madwifi/patches/104-apmode_by_default.patch [new file with mode: 0644]

diff --git a/target/linux/package/madwifi/patches/104-apmode_by_default.patch b/target/linux/package/madwifi/patches/104-apmode_by_default.patch
new file mode 100644 (file)
index 0000000..345e757
--- /dev/null
@@ -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;