From a296d8af2f2c743007a218887ca4faede1592837 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Thu, 26 Jun 2003 22:11:19 +0000 Subject: [PATCH] add comment --- sys/net80211/ieee80211_input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 98009b4fa167..fc13c961f0dc 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -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