From 3a9d0aca8a85cbcf6fa9091bf7fc00b2b106e19c Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Fri, 19 Apr 2019 18:00:33 +0000 Subject: [PATCH] [ath] Fix return value check to not complain. Compilers complain more about things, so let's keep them happy. --- sys/dev/ath/if_athvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h index 96d22f511746..96b5ec9535e2 100644 --- a/sys/dev/ath/if_athvar.h +++ b/sys/dev/ath/if_athvar.h @@ -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)))