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:
parent
3033b8e4d5
commit
b9253b5c19
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ static inline bool net_capture_is_enabled(const struct device *dev)
|
|||
#else
|
||||
ARG_UNUSED(dev);
|
||||
|
||||
return -ENOTSUP;
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue