Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 02:53:00 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187510 - in head/sys/dev/ath/ath_hal: ar5211 ar5212
Message-ID:  <200901210253.n0L2r0ms064102@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Wed Jan 21 02:53:00 2009
New Revision: 187510
URL: http://svn.freebsd.org/changeset/base/187510

Log:
  correct typo that left programmed sifs time in the slot time
  (to be applied on subsequent resets)
  
  Submitted by:	Jiri Fojtasek <jiri.fojtasek@hlohovec.net>

Modified:
  head/sys/dev/ath/ath_hal/ar5211/ar5211_misc.c
  head/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c

Modified: head/sys/dev/ath/ath_hal/ar5211/ar5211_misc.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5211/ar5211_misc.c	Wed Jan 21 01:31:08 2009	(r187509)
+++ head/sys/dev/ath/ath_hal/ar5211/ar5211_misc.c	Wed Jan 21 02:53:00 2009	(r187510)
@@ -14,7 +14,7 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  *
- * $Id: ar5211_misc.c,v 1.7 2008/11/27 22:29:52 sam Exp $
+ * $FreeBSD$
  */
 #include "opt_ah.h"
 
@@ -432,7 +432,7 @@ ar5211SetSifsTime(struct ath_hal *ah, u_
 	} else {
 		/* convert to system clocks */
 		OS_REG_WRITE(ah, AR_D_GBL_IFS_SIFS, ath_hal_mac_clks(ah, us));
-		ahp->ah_slottime = us;
+		ahp->ah_sifstime = us;
 		return AH_TRUE;
 	}
 }

Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c	Wed Jan 21 01:31:08 2009	(r187509)
+++ head/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c	Wed Jan 21 02:53:00 2009	(r187510)
@@ -453,7 +453,7 @@ ar5212SetSifsTime(struct ath_hal *ah, u_
 	} else {
 		/* convert to system clocks */
 		OS_REG_WRITE(ah, AR_D_GBL_IFS_SIFS, ath_hal_mac_clks(ah, us));
-		ahp->ah_slottime = us;
+		ahp->ah_sifstime = us;
 		return AH_TRUE;
 	}
 }



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