Author: adrian
Date: Fri Nov  4 13:32:13 2011
New Revision: 227080
URL: http://svn.freebsd.org/changeset/base/227080

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

Modified:
  head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c      Fri Nov  4 13:31:03 
2011        (r227079)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c      Fri Nov  4 13:32:13 
2011        (r227080)
@@ -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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to