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
This commit is contained in:
Sam Leffler 2004-12-31 21:11:59 +00:00
parent c0fa32ce0b
commit 65e278a877
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139517

View File

@ -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) {