svn commit: r250856 - head/sys/dev/ath/ath_hal/ar5416
Adrian Chadd
adrian at FreeBSD.org
Tue May 21 14:28:06 UTC 2013
Author: adrian
Date: Tue May 21 14:28:05 2013
New Revision: 250856
URL: http://svnweb.freebsd.org/changeset/base/250856
Log:
Fix build break - the SetCapability calls return HAL_BOOL,
not HAL_STATUS.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c Tue May 21 13:02:37 2013 (r250855)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c Tue May 21 14:28:05 2013 (r250856)
@@ -504,7 +504,7 @@ ar5416SetCapability(struct ath_hal *ah,
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;
More information about the svn-src-head
mailing list