summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-12-15 00:29:26 +0000
committersam <sam@FreeBSD.org>2008-12-15 00:29:26 +0000
commit819cfeddfd7ca190b737ef52616ea886bc3a3084 (patch)
tree3156f966ca5facec7206c7cb5927ff7741b0602e /sys/dev/ath
parentb20efaabc2e8e5d3d07fad285e4cb62fba859ebb (diff)
downloadFreeBSD-src-819cfeddfd7ca190b737ef52616ea886bc3a3084.zip
FreeBSD-src-819cfeddfd7ca190b737ef52616ea886bc3a3084.tar.gz
fix ini setup
Submitted by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net>
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/ath_hal/ar5312/ar5312_attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c b/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c
index 5485294..e38c50c 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__);
OpenPOWER on IntegriCloud