svn commit: r231864 - head/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at FreeBSD.org
Fri Feb 17 08:45:09 UTC 2012


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;
 	}


More information about the svn-src-all mailing list