1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

Call the correct chipset power routine when disabling the AR5416 and later NICs.

This commit is contained in:
Adrian Chadd 2011-11-04 13:32:13 +00:00
parent 87a133a7a5
commit 543d97bb43
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227080

View File

@ -1178,7 +1178,7 @@ ar5416GetRfgain(struct ath_hal *ah)
HAL_BOOL HAL_BOOL
ar5416Disable(struct ath_hal *ah) ar5416Disable(struct ath_hal *ah)
{ {
if (!ar5212SetPowerMode(ah, HAL_PM_AWAKE, AH_TRUE)) if (!ar5416SetPowerMode(ah, HAL_PM_AWAKE, AH_TRUE))
return AH_FALSE; return AH_FALSE;
if (! ar5416SetResetReg(ah, HAL_RESET_COLD)) if (! ar5416SetResetReg(ah, HAL_RESET_COLD))
return AH_FALSE; return AH_FALSE;