Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2006 00:48:21 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 91012 for review
Message-ID:  <200602040048.k140mLUX058252@repoman.freebsd.org>

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



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