Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2008 23:39:18 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184275 - head/sys/net80211
Message-ID:  <200810252339.m9PNdIxI060547@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810252339.m9PNdIxI060547>