From owner-p4-projects@FreeBSD.ORG Sat Feb 4 00:48:22 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E4C3A16A423; Sat, 4 Feb 2006 00:48:21 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF21916A420 for ; Sat, 4 Feb 2006 00:48:21 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C06243D45 for ; Sat, 4 Feb 2006 00:48:21 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k140mLtU058255 for ; Sat, 4 Feb 2006 00:48:21 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k140mLUX058252 for perforce@freebsd.org; Sat, 4 Feb 2006 00:48:21 GMT (envelope-from sam@freebsd.org) Date: Sat, 4 Feb 2006 00:48:21 GMT Message-Id: <200602040048.k140mLUX058252@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Cc: Subject: PERFORCE change 91012 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 00:48:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=91012 Change 91012 by sam@sam_ebb on 2006/02/04 00:47:20 honor active channel list when constructing scan set Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_scan_sta.c#9 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_scan_sta.c#9 (text+ko) ==== @@ -515,6 +515,11 @@ */ if (IEEE80211_IS_CHAN_DTURBO(c)) continue; + /* + * Skip channels not in the active list. + */ + if (isclr(ic->ic_chan_active, c->ic_ieee)) + continue; mode = ieee80211_chan2mode(c); if (ic->ic_des_mode != IEEE80211_MODE_AUTO) { /*