diff options
author | sam <sam@FreeBSD.org> | 2008-10-25 23:39:18 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-10-25 23:39:18 +0000 |
commit | 5d094d97f7135bfa0c207be106f9a88c2f4b999a (patch) | |
tree | 8e99b1768af0de312cd2c5aa5a0b3c3824b8021a /sys | |
parent | 514df7862ade63d3a0328363565b840215d9488d (diff) | |
download | FreeBSD-src-5d094d97f7135bfa0c207be106f9a88c2f4b999a.zip FreeBSD-src-5d094d97f7135bfa0c207be106f9a88c2f4b999a.tar.gz |
expand captured ie's before calling match_bss so they can potentially
be used in the process
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net80211/ieee80211_scan_sta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_scan_sta.c b/sys/net80211/ieee80211_scan_sta.c index 386d8de..debbdfb 100644 --- a/sys/net80211/ieee80211_scan_sta.c +++ b/sys/net80211/ieee80211_scan_sta.c @@ -992,8 +992,8 @@ select_bss(struct ieee80211_scan_state *ss, struct ieee80211vap *vap, int debug) "macaddr bssid chan rssi rate flag wep essid"); mtx_lock(&st->st_lock); TAILQ_FOREACH(se, &st->st_entry, se_list) { + ieee80211_ies_expand(&se->base.se_ies); if (match_bss(vap, ss, se, debug) == 0) { - ieee80211_ies_expand(&se->base.se_ies); if (selbs == NULL) selbs = se; else if (sta_compare(se, selbs) > 0) |