Fix the return type.

Submitted by:	arundel
Found by:	clang/llvm
This commit is contained in:
Adrian Chadd 2012-02-17 08:45:08 +00:00
parent caee7d9ca4
commit 2a4106cfef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231864

View File

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