summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-05-21 14:28:05 +0000
committeradrian <adrian@FreeBSD.org>2013-05-21 14:28:05 +0000
commit3fb878f21703be90472084ea82e8c78c7690dc0d (patch)
treef61bbeb04304324a4df2c19cfbc79e765300a402 /sys/dev/ath
parent19425ad923e36a3baa10961059b1a9be2bf4b22b (diff)
downloadFreeBSD-src-3fb878f21703be90472084ea82e8c78c7690dc0d.zip
FreeBSD-src-3fb878f21703be90472084ea82e8c78c7690dc0d.tar.gz
Fix build break - the SetCapability calls return HAL_BOOL,
not HAL_STATUS.
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c b/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
index 66f1d62..dd76843 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;
OpenPOWER on IntegriCloud