Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2003 10:45:24 -0800 (PST)
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 43905 for review
Message-ID:  <200312131845.hBDIjOHk057716@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=43905

Change 43905 by sam@sam_ebb on 2003/12/13 10:45:22

	skip scanning when operating in adhoc mode with a fixed channel

Affected files ...

.. //depot/projects/netperf/sys/net80211/ieee80211_proto.c#10 edit

Differences ...

==== //depot/projects/netperf/sys/net80211/ieee80211_proto.c#10 (text+ko) ====

@@ -383,7 +383,9 @@
 		ni->ni_rstamp = 0;
 		switch (ostate) {
 		case IEEE80211_S_INIT:
-			if (ic->ic_opmode == IEEE80211_M_HOSTAP &&
+			if ((ic->ic_opmode == IEEE80211_M_HOSTAP ||
+			     ic->ic_opmode == IEEE80211_M_IBSS ||
+			     ic->ic_opmode == IEEE80211_M_AHDEMO) &&
 			    ic->ic_des_chan != IEEE80211_CHAN_ANYC) {
 				/*
 				 * AP operation and we already have a channel;



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