PERFORCE change 43905 for review

Sam Leffler sam at FreeBSD.org
Sat Dec 13 10:45:26 PST 2003


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

Change 43905 by sam at 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;


More information about the p4-projects mailing list