Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2004 00:44:16 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 64926 for review
Message-ID:  <200411120044.iAC0iGXT053027@repoman.freebsd.org>

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

Change 64926 by sam@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;
 }
 
 /*



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