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

View File

@ -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;