From owner-svn-src-all@FreeBSD.ORG Sat Oct 25 23:39:19 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 170991065671; Sat, 25 Oct 2008 23:39:19 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0641F8FC1C; Sat, 25 Oct 2008 23:39:19 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9PNdILL060548; Sat, 25 Oct 2008 23:39:18 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9PNdIxI060547; Sat, 25 Oct 2008 23:39:18 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200810252339.m9PNdIxI060547@svn.freebsd.org> From: Sam Leffler Date: Sat, 25 Oct 2008 23:39:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184275 - head/sys/net80211 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2008 23:39:19 -0000 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)