svn commit: r187510 - in head/sys/dev/ath/ath_hal: ar5211 ar5212

Sam Leffler sam at FreeBSD.org
Tue Jan 20 18:53:01 PST 2009


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 at 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;
 	}
 }


More information about the svn-src-head mailing list