Fix build break - the SetCapability calls return HAL_BOOL,

not HAL_STATUS.
This commit is contained in:
Adrian Chadd 2013-05-21 14:28:05 +00:00
parent f85769eb75
commit 6ea069190d

View File

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