diff options
-rw-r--r-- | sys/dev/ath/ath_hal/ah_eeprom_v14.c | 4 | ||||
-rw-r--r-- | sys/dev/ath/ath_hal/ah_eeprom_v4k.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ath/ath_hal/ah_eeprom_v14.c b/sys/dev/ath/ath_hal/ah_eeprom_v14.c index e9eb011..c58a713 100644 --- a/sys/dev/ath/ath_hal/ah_eeprom_v14.c +++ b/sys/dev/ath/ath_hal/ah_eeprom_v14.c @@ -159,8 +159,8 @@ v14EepromDiag(struct ath_hal *ah, int request, switch (request) { case HAL_DIAG_EEPROM: - *result = &ee->ee_base; - *resultsize = sizeof(ee->ee_base); + *result = ee; + *resultsize = sizeof(HAL_EEPROM_v14); return AH_TRUE; } return AH_FALSE; diff --git a/sys/dev/ath/ath_hal/ah_eeprom_v4k.c b/sys/dev/ath/ath_hal/ah_eeprom_v4k.c index 2f9e589..ea0e570 100644 --- a/sys/dev/ath/ath_hal/ah_eeprom_v4k.c +++ b/sys/dev/ath/ath_hal/ah_eeprom_v4k.c @@ -137,8 +137,8 @@ v4kEepromDiag(struct ath_hal *ah, int request, switch (request) { case HAL_DIAG_EEPROM: - *result = &ee->ee_base; - *resultsize = sizeof(ee->ee_base); + *result = ee; + *resultsize = sizeof(HAL_EEPROM_v4k); return AH_TRUE; } return AH_FALSE; |