3 @@ -1354,7 +1354,7 @@ ath_vap_create(struct ieee80211com *ic,
4 TAILQ_FOREACH(v, &ic->ic_vaps, iv_next)
5 id_mask |= (1 << ATH_GET_VAP_ID(v->iv_myaddr));
7 - for (id = 1; id < ath_maxvaps; id++) {
8 + for (id = 0; id < ath_maxvaps; id++) {
9 /* get the first available slot */
10 if ((id_mask & (1 << id)) == 0) {
11 ATH_SET_VAP_BSSID(vap->iv_myaddr, id);