Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2013 14:28:05 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250856 - head/sys/dev/ath/ath_hal/ar5416
Message-ID:  <201305211428.r4LES5L8018987@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305211428.r4LES5L8018987>