From 2a4106cfef327b046181ff683ebc803dbbddeaac Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Fri, 17 Feb 2012 08:45:08 +0000 Subject: [PATCH] Fix the return type. Submitted by: arundel Found by: clang/llvm --- sys/dev/ath/ath_hal/ar5416/ar5416_misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c b/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c index eb7f797a9ee..c3d16acbfb9 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c @@ -446,7 +446,7 @@ ar5416SetCapability(struct ath_hal *ah, HAL_CAPABILITY_TYPE type, pCap->halRxStreams = 2; else pCap->halRxStreams = 1; - return HAL_OK; + return AH_TRUE; case HAL_CAP_TX_CHAINMASK: setting &= ath_hal_eepromGet(ah, AR_EEP_TXMASK, NULL); pCap->halTxChainMask = setting; @@ -454,7 +454,7 @@ ar5416SetCapability(struct ath_hal *ah, HAL_CAPABILITY_TYPE type, pCap->halTxStreams = 2; else pCap->halTxStreams = 1; - return HAL_OK; + return AH_TRUE; default: break; }