finally move buildroot-ng to trunk
[openwrt/staging/yousong.git] / package / madwifi / patches / 104-apmode_by_default.patch
1 diff -urN madwifi-0.9.2.old/ath/if_ath.c madwifi-0.9.2.dev/ath/if_ath.c
2 --- madwifi-0.9.2.old/ath/if_ath.c 2006-08-29 17:49:50.000000000 +0200
3 +++ madwifi-0.9.2.dev/ath/if_ath.c 2006-08-29 17:49:50.000000000 +0200
4 @@ -387,7 +387,7 @@
5 struct ath_hal *ah;
6 HAL_STATUS status;
7 int error = 0, i;
8 - int autocreatemode = IEEE80211_M_STA;
9 + int autocreatemode = IEEE80211_M_HOSTAP;
10 u_int8_t csz;
11
12 sc->devid = devid;