PERFORCE change 91012 for review

Sam Leffler sam at FreeBSD.org
Fri Feb 3 16:48:22 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=91012

Change 91012 by sam at 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) {
 			/*


More information about the p4-projects mailing list