Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/isc/atheros_hal/dist/ar5416 Consistently use ar...



details:   https://anonhg.NetBSD.org/src/rev/b80076b66e59
branches:  trunk
changeset: 773667:b80076b66e59
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Feb 12 13:55:27 2012 +0000

description:
Consistently use ar5416SetPowerMode. From Henning Petersen in PR 45999.

diffstat:

 sys/external/isc/atheros_hal/dist/ar5416/ar5416_reset.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 40a6ac35359c -r b80076b66e59 sys/external/isc/atheros_hal/dist/ar5416/ar5416_reset.c
--- a/sys/external/isc/atheros_hal/dist/ar5416/ar5416_reset.c   Sun Feb 12 13:52:51 2012 +0000
+++ b/sys/external/isc/atheros_hal/dist/ar5416/ar5416_reset.c   Sun Feb 12 13:55:27 2012 +0000
@@ -14,7 +14,7 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  *
- * $Id: ar5416_reset.c,v 1.5 2011/03/07 11:25:44 cegger Exp $
+ * $Id: ar5416_reset.c,v 1.6 2012/02/12 13:55:27 wiz Exp $
  */
 #include "opt_ah.h"
 
@@ -1028,7 +1028,7 @@
 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;
        return ar5416SetResetReg(ah, HAL_RESET_COLD);
 }



Home | Main Index | Thread Index | Old Index