Date: Fri, 17 Feb 2012 08:45:08 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r231864 - head/sys/dev/ath/ath_hal/ar5416 Message-ID: <201202170845.q1H8j8TL058234@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Fri Feb 17 08:45:08 2012 New Revision: 231864 URL: http://svn.freebsd.org/changeset/base/231864 Log: Fix the return type. Submitted by: arundel Found by: clang/llvm Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c Fri Feb 17 08:24:58 2012 (r231863) +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c Fri Feb 17 08:45:08 2012 (r231864) @@ -446,7 +446,7 @@ ar5416SetCapability(struct ath_hal *ah, 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, pCap->halTxStreams = 2; else pCap->halTxStreams = 1; - return HAL_OK; + return AH_TRUE; default: break; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202170845.q1H8j8TL058234>