update madwifi
[openwrt/svn-archive/archive.git] / openwrt / target / linux / package / madwifi / patches / 104-apmode_by_default.patch
1 diff -ruN madwifi-ng-r1486-20060329/ath/if_ath.c madwifi-ng-r1486-20060329-patch/ath/if_ath.c
2 --- madwifi-ng-r1486-20060329/ath/if_ath.c 2006-03-23 15:12:18.000000000 -0500
3 +++ madwifi-ng-r1486-20060329-patch/ath/if_ath.c 2006-03-31 11:00:30.000000000 -0500
4 @@ -388,7 +388,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;