diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2011-11-04 13:32:13 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2011-11-04 13:32:13 +0000 |
commit | 543d97bb43fb77ba5b415ea464b9bb32b614d65c (patch) | |
tree | 382aa54816f9504b6d82a5862b373645786b382b | |
parent | 87a133a7a56a13095181f18e55fcbd7a725d6aeb (diff) |
Call the correct chipset power routine when disabling the AR5416 and later NICs.
Notes
Notes:
svn path=/head/; revision=227080
-rw-r--r-- | sys/dev/ath/ath_hal/ar5416/ar5416_reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c index 97d292e91ab8..b4fdc28db3b3 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c @@ -1178,7 +1178,7 @@ ar5416GetRfgain(struct ath_hal *ah) HAL_BOOL ar5416Disable(struct ath_hal *ah) { - if (!ar5212SetPowerMode(ah, HAL_PM_AWAKE, AH_TRUE)) + if (!ar5416SetPowerMode(ah, HAL_PM_AWAKE, AH_TRUE)) return AH_FALSE; if (! ar5416SetResetReg(ah, HAL_RESET_COLD)) return AH_FALSE; |