From 0f1a6e3482d12daffeb995bd48e4ad66ce292ce0 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Mon, 15 Dec 2008 00:29:26 +0000 Subject: [PATCH] fix ini setup Submitted by: Jiri Fojtasek --- sys/dev/ath/ath_hal/ar5312/ar5312_attach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c b/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c index 54852942053..e38c50c172b 100644 --- a/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c +++ b/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c @@ -122,7 +122,7 @@ ar5312Attach(uint16_t devid, HAL_SOFTC sc, /* 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__);