mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix build break - the SetCapability calls return HAL_BOOL,
not HAL_STATUS.
This commit is contained in:
parent
f85769eb75
commit
6ea069190d
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ ar5416SetCapability(struct ath_hal *ah, HAL_CAPABILITY_TYPE type,
|
|||
return AH_TRUE;
|
||||
case HAL_CAP_ENFORCE_TXOP:
|
||||
if (capability != 1)
|
||||
return (HAL_ENOTSUPP);
|
||||
return AH_FALSE;
|
||||
if (setting) {
|
||||
AH5212(ah)->ah_miscMode
|
||||
|= AR_PCU_TXOP_TBTT_LIMIT_ENA;
|
||||
|
|
|
|||
Loading…
Reference in a new issue