add comment

This commit is contained in:
Sam Leffler 2003-06-26 22:11:19 +00:00
parent 577a1d0c4e
commit a296d8af2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116895

View File

@ -941,6 +941,8 @@ ieee80211_recv_mgmt(struct ieee80211com *ic, struct mbuf *m0, int subtype,
ni->ni_fhdwell = ic->ic_bss->ni_fhdwell;
ni->ni_fhindex = ic->ic_bss->ni_fhindex;
if (ni->ni_associd == 0) {
/* XXX handle rollover at 2007 */
/* XXX guarantee uniqueness */
ni->ni_associd = 0xc000 | ic->ic_bss->ni_associd++;
newassoc = 1;
} else