madwifi: improve automatic channel selection by taking idle airtime into account
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 104-autocreate_none.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -516,7 +516,7 @@ ath_attach(u_int16_t devid, struct net_d
4 HAL_STATUS status;
5 int error = 0;
6 unsigned int i;
7 - int autocreatemode = IEEE80211_M_STA;
8 + int autocreatemode = -1;
9 u_int8_t csz;
10
11 sc->devid = devid;