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 <[email protected]>

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__);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to