NetBSD Problem Report #45999

From www@NetBSD.org  Sun Feb 12 11:42:40 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 05D0263E028
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Feb 2012 11:42:40 +0000 (UTC)
Message-Id: <20120212114239.6DA5563B86B@www.NetBSD.org>
Date: Sun, 12 Feb 2012 11:42:39 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Use ar5416SetPowerMode in ar5416_reset.c .
X-Send-Pr-Version: www-1.0

>Number:         45999
>Category:       kern
>Synopsis:       Use ar5416SetPowerMode in ar5416_reset.c .
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 12 11:45:00 +0000 2012
>Closed-Date:    Sun Feb 12 13:55:34 +0000 2012
>Last-Modified:  Sun Feb 12 14:00:03 +0000 2012
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Use ar5416SetPowerMode in ar5416_reset.c.
>How-To-Repeat:

>Fix:
diff -u -p -r1.5 ar5416_reset.c
--- sys/external/isc/atheros_hal/dist/ar5416/ar5416_reset.c	7 Mar 2011 11:25:44 -0000	1.5
+++ sys/external/isc/atheros_hal/dist/ar5416/ar5416_reset.c	5 Feb 2012 07:40:04 -0000
@@ -1028,7 +1028,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;
 	return ar5416SetResetReg(ah, HAL_RESET_COLD);
 }

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 12 Feb 2012 13:55:34 +0000
State-Changed-Why:
Committed, thanks


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45999 CVS commit: src/sys/external/isc/atheros_hal/dist/ar5416
Date: Sun, 12 Feb 2012 13:55:27 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Sun Feb 12 13:55:27 UTC 2012

 Modified Files:
 	src/sys/external/isc/atheros_hal/dist/ar5416: ar5416_reset.c

 Log Message:
 Consistently use ar5416SetPowerMode. From Henning Petersen in PR 45999.


 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 \
     src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_reset.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.