Date: Tue, 24 May 2005 21:01:52 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 77410 for review Message-ID: <200505242101.j4OL1qAp094055@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=77410 Change 77410 by sam@sam_ebb on 2005/05/24 21:01:09 set new entries to an invalid scangen so the first iteration will pick them up; fixes ifconfig wlan0 list scan which used to return nothing the first time (oops) Affected files ... .. //depot/projects/vap/sys/net80211/ieee80211_scan_sta.c#8 edit Differences ... ==== //depot/projects/vap/sys/net80211/ieee80211_scan_sta.c#8 (text+ko) ==== @@ -212,6 +212,7 @@ mtx_unlock(&st->st_lock); return 0; } + se->se_scangen = st->st_scangen-1; IEEE80211_ADDR_COPY(se->base.se_macaddr, macaddr); TAILQ_INSERT_TAIL(&st->st_entry, se, se_list); LIST_INSERT_HEAD(&st->st_hash[hash], se, se_hash);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505242101.j4OL1qAp094055>
