From b9253b5c1961ba4effabbeabf962fb66fa13cc67 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 28 May 2021 15:43:47 +0300 Subject: [PATCH] net: capture: Fix the return value of net_capture_is_enabled() The net_capture_is_enabled() function returns boolean value so fix the function prototype. Signed-off-by: Jukka Rissanen --- include/net/capture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/capture.h b/include/net/capture.h index 7c2b9da0cb88..aa3462980114 100644 --- a/include/net/capture.h +++ b/include/net/capture.h @@ -141,7 +141,7 @@ static inline bool net_capture_is_enabled(const struct device *dev) #else ARG_UNUSED(dev); - return -ENOTSUP; + return false; #endif }