Fix the return type.
Submitted by: arundel Found by: clang/llvm
This commit is contained in:
parent
caee7d9ca4
commit
2a4106cfef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231864
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user