svn commit: r186098 - head/sys/dev/ath/ath_hal/ar5312

Sam Leffler sam at FreeBSD.org
Mon Dec 15 00:29:26 UTC 2008


Author: sam
Date: Mon Dec 15 00:29:26 2008
New Revision: 186098
URL: http://svn.freebsd.org/changeset/base/186098

Log:
  fix ini setup
  
  Submitted by:	Jiri Fojtasek <jiri.fojtasek at hlohovec.net>

Modified:
  head/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c

Modified: head/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c	Sun Dec 14 23:24:00 2008	(r186097)
+++ head/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c	Mon Dec 15 00:29:26 2008	(r186098)
@@ -122,7 +122,7 @@ ar5312Attach(uint16_t devid, HAL_SOFTC s
 
 	/* setup common ini data; rf backends handle remainder */
 	HAL_INI_INIT(&ahp->ah_ini_modes, ar5212Modes, 6);
-	HAL_INI_INIT(&ahp->ah_ini_common, ar5212Common, 6);
+	HAL_INI_INIT(&ahp->ah_ini_common, ar5212Common, 2);
 
 	if (!ar5312ChipReset(ah, AH_NULL)) {	/* reset chip */
 		HALDEBUG(ah, HAL_DEBUG_ANY, "%s: chip reset failed\n", __func__);


More information about the svn-src-all mailing list