svn commit: r346405 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Tue Sep 3 14:07:31 UTC 2019
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)))
More information about the svn-src-head
mailing list