PERFORCE change 64926 for review

Sam Leffler sam at FreeBSD.org
Thu Nov 11 16:44:18 PST 2004


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

Change 64926 by sam at sam_ebb on 2004/11/12 00:43:45

	correct handling of slot time for 11g adhoc mode

Affected files ...

.. //depot/projects/wifi/sys/dev/ath/if_ath.c#18 edit

Differences ...

==== //depot/projects/wifi/sys/dev/ath/if_ath.c#18 (text+ko) ====

@@ -1667,14 +1667,14 @@
 	struct ieee80211com *ic = &sc->sc_ic;
 
 	/*
-	 * In station mode we change the hardware immediately.
-	 * For other operation we defer the change until beacon
-	 * updates have propagated to the stations.
+	 * When not coordinating the BSS, change the hardware
+	 * immediately.  For other operation we defer the change
+	 * until beacon updates have propagated to the stations.
 	 */
-	if (ic->ic_opmode == IEEE80211_M_STA)
+	if (ic->ic_opmode == IEEE80211_M_HOSTAP)
+		sc->sc_updateslot = UPDATE;
+	else
 		ath_setslottime(sc);
-	else
-		sc->sc_updateslot = UPDATE;
 }
 
 /*


More information about the p4-projects mailing list