diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2003-06-26 22:11:19 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2003-06-26 22:11:19 +0000 |
| commit | a296d8af2f2c743007a218887ca4faede1592837 (patch) | |
| tree | 39abe7a266ae7843ea72302992fc4519330a6e53 | |
| parent | 577a1d0c4e11ee643d4df24918ddf59aa68c0df8 (diff) | |
Notes
| -rw-r--r-- | sys/net80211/ieee80211_input.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
