fixes pci on lantiq AR9 SoC
[openwrt.git] / package / madwifi / patches / 311-bssid_alloc.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
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));
6
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);
This page took 0.055944 seconds and 5 git commands to generate.