svn commit: r184275 - head/sys/net80211

Sam Leffler sam at FreeBSD.org
Sat Oct 25 16:39:19 PDT 2008


Author: sam
Date: Sat Oct 25 23:39:18 2008
New Revision: 184275
URL: http://svn.freebsd.org/changeset/base/184275

Log:
  expand captured ie's before calling match_bss so they can potentially
  be used in the process

Modified:
  head/sys/net80211/ieee80211_scan_sta.c

Modified: head/sys/net80211/ieee80211_scan_sta.c
==============================================================================
--- head/sys/net80211/ieee80211_scan_sta.c	Sat Oct 25 23:32:24 2008	(r184274)
+++ head/sys/net80211/ieee80211_scan_sta.c	Sat Oct 25 23:39:18 2008	(r184275)
@@ -992,8 +992,8 @@ select_bss(struct ieee80211_scan_state *
 	    "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)


More information about the svn-src-all mailing list