diff options
author | sam <sam@FreeBSD.org> | 2004-12-31 21:11:59 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2004-12-31 21:11:59 +0000 |
commit | d54bd5773167c6e20554670fa343baa9895d7279 (patch) | |
tree | 929de1b56a2821ae60a8715932816e89b273055a /sys | |
parent | f249744499e32e4b6258162be44949007d88510f (diff) | |
download | FreeBSD-src-d54bd5773167c6e20554670fa343baa9895d7279.zip FreeBSD-src-d54bd5773167c6e20554670fa343baa9895d7279.tar.gz |
don't return prematurely from processing a beacon or probe response frame
when associated; this corrects a problem where doing a scan while associated
caused the associated ap to sometimes not be included in the scan set
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 6ed6c36..ede8175 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -1871,7 +1871,8 @@ ieee80211_recv_mgmt(struct ieee80211com *ic, struct mbuf *m0, ieee80211_parse_wmeparams(ic, wme, wh) > 0) ieee80211_wme_updateparams(ic); /* NB: don't need the rest of this */ - return; + if ((ic->ic_flags & IEEE80211_F_SCAN) == 0) + return; } if (ni == ic->ic_bss) { |