diff options
author | adrian <adrian@FreeBSD.org> | 2013-05-21 14:28:05 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-05-21 14:28:05 +0000 |
commit | 3fb878f21703be90472084ea82e8c78c7690dc0d (patch) | |
tree | f61bbeb04304324a4df2c19cfbc79e765300a402 /sys/dev/ath | |
parent | 19425ad923e36a3baa10961059b1a9be2bf4b22b (diff) | |
download | FreeBSD-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.c | 2 |
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; |