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 <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen
2021-05-28 15:43:47 +03:00
committed by Kumar Gala
parent 3033b8e4d5
commit b9253b5c19

View File

@@ -141,7 +141,7 @@ static inline bool net_capture_is_enabled(const struct device *dev)
#else
ARG_UNUSED(dev);
return -ENOTSUP;
return false;
#endif
}