openwrtv4/openwrt/target/linux/package/madwifi/patches/104-apmode_by_default.patch

13 lines
469 B
Diff
Raw Normal View History

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;