PERFORCE change 77410 for review
Sam Leffler
sam at FreeBSD.org
Tue May 24 21:01:54 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=77410
Change 77410 by sam at 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);
More information about the p4-projects
mailing list