correction
[openwrt-10.03/.git] / target / linux / package / madwifi / patches / 104-apmode_by_default.patch
1 diff -ru madwifi-ng-r1451-20060212/ath/if_ath.c madwifi-ng-r1451-20060212-patch/ath/if_ath.c
2 --- madwifi-ng-r1451-20060212/ath/if_ath.c      2006-02-11 07:04:39.000000000 -0500
3 +++ madwifi-ng-r1451-20060212-patch/ath/if_ath.c        2006-02-16 06:06:34.000000000 -0500
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->sc_debug = ath_debug;