From 6ea069190d7feb63da49b26d7c1268a20518d171 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Tue, 21 May 2013 14:28:05 +0000 Subject: [PATCH] Fix build break - the SetCapability calls return HAL_BOOL, not HAL_STATUS. --- sys/dev/ath/ath_hal/ar5416/ar5416_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c b/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c index 66f1d6218ec..dd768434394 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c @@ -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;