mirror of
https://github.com/opnsense/src.git
synced 2026-04-20 21:59:20 -04:00
Fix the return type.
Submitted by: arundel Found by: clang/llvm
This commit is contained in:
parent
caee7d9ca4
commit
2a4106cfef
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue