From f2a2d30d06f4d3fbba2ab4e880bb2fc9c6460484 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 8 Sep 2023 18:04:00 +0300 Subject: [PATCH] net: capture: Fix the API documentation The net_capture_send() is only to be called from capture implementation itself, so the API does not need to be public thus hide it from generated documentation. Signed-off-by: Jukka Rissanen --- include/zephyr/net/capture.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/zephyr/net/capture.h b/include/zephyr/net/capture.h index b4d9ce323a1..ac8ccdb905d 100644 --- a/include/zephyr/net/capture.h +++ b/include/zephyr/net/capture.h @@ -166,6 +166,8 @@ static inline int net_capture_disable(const struct device *dev) #endif } +/** @cond INTERNAL_HIDDEN */ + /** * @brief Send captured packet. * @@ -192,8 +194,6 @@ static inline int net_capture_send(const struct device *dev, struct net_if *ifac #endif } -/** @cond INTERNAL_HIDDEN */ - /** * @brief Check if the network packet needs to be captured or not. * This is called for every network packet being sent.