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/ar5212 Use correct return ...
details: https://anonhg.NetBSD.org/src/rev/2226a9a95479
branches: trunk
changeset: 773664:2226a9a95479
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Feb 12 13:48:45 2012 +0000
description:
Use correct return value. From clang via Henning Petersen in PR 45995.
diffstat:
sys/external/isc/atheros_hal/dist/ar5212/ar5212_misc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r e7309bb9b452 -r 2226a9a95479 sys/external/isc/atheros_hal/dist/ar5212/ar5212_misc.c
--- a/sys/external/isc/atheros_hal/dist/ar5212/ar5212_misc.c Sun Feb 12 13:47:19 2012 +0000
+++ b/sys/external/isc/atheros_hal/dist/ar5212/ar5212_misc.c Sun Feb 12 13:48:45 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: ar5212_misc.c,v 1.2 2011/03/07 11:25:43 cegger Exp $
+ * $Id: ar5212_misc.c,v 1.3 2012/02/12 13:48:45 wiz Exp $
*/
#include "opt_ah.h"
@@ -570,7 +570,7 @@
struct ath_hal_5212 *ahp = AH5212(ah);
if (keyidx >= HAL_DECOMP_MASK_SIZE)
- return HAL_EINVAL;
+ return AH_FALSE;
OS_REG_WRITE(ah, AR_DCM_A, keyidx);
OS_REG_WRITE(ah, AR_DCM_D, en ? AR_DCM_D_EN : 0);
ahp->ah_decompMask[keyidx] = en;
Home |
Main Index |
Thread Index |
Old Index