summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/package/madwifi/patches/104-apmode_by_default.patch
blob: f12427c4edea98b2f785f05c2a76f2674a967fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ru madwifi-ng-r1451-20060212/ath/if_ath.c madwifi-ng-r1451-20060212-patch/ath/if_ath.c
--- madwifi-ng-r1451-20060212/ath/if_ath.c	2006-02-11 07:04:39.000000000 -0500
+++ madwifi-ng-r1451-20060212-patch/ath/if_ath.c	2006-02-16 06:06:34.000000000 -0500
@@ -387,7 +387,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;