Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2019 18:00:33 +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: r346405 - head/sys/dev/ath
Message-ID:  <201904191800.x3JI0XkQ047529@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Fri Apr 19 18:00:33 2019
New Revision: 346405
URL: https://svnweb.freebsd.org/changeset/base/346405

Log:
  [ath] Fix return value check to not complain.
  
  Compilers complain more about things, so let's keep them happy.

Modified:
  head/sys/dev/ath/if_athvar.h

Modified: head/sys/dev/ath/if_athvar.h
==============================================================================
--- head/sys/dev/ath/if_athvar.h	Fri Apr 19 17:29:20 2019	(r346404)
+++ head/sys/dev/ath/if_athvar.h	Fri Apr 19 18:00:33 2019	(r346405)
@@ -1352,7 +1352,7 @@ void	ath_intr(void *);
 	== HAL_OK)
 #define	ath_hal_setrxbufsize(_ah, _req) \
 	(ath_hal_setcapability(_ah, HAL_CAP_RXBUFSIZE, 0, _req, NULL)	\
-	== HAL_OK)
+	== AH_TRUE)
 
 #define	ath_hal_getchannoise(_ah, _c) \
 	((*(_ah)->ah_getChanNoise)((_ah), (_c)))



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