From cd184f43328eec285f6f8a18ee8676d9e31f3146 Mon Sep 17 00:00:00 2001 From: Yasushi SHOJI Date: Wed, 30 Aug 2023 18:18:15 +0900 Subject: [PATCH] doc: net: Fix net_pkt_data_access doc about cursor Unlike other functions in net_pkt.h, net_pkt_data_access() doesn't change the cursor position. Signed-off-by: Yasushi SHOJI --- include/zephyr/net/net_pkt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/zephyr/net/net_pkt.h b/include/zephyr/net/net_pkt.h index 362d4f0d69e..d4011d1f582 100644 --- a/include/zephyr/net/net_pkt.h +++ b/include/zephyr/net/net_pkt.h @@ -2239,8 +2239,8 @@ struct net_pkt_data_access { * @brief Get data from a network packet in a contiguous way * * @details net_pkt's cursor should be properly initialized and, - * if needed, positioned using net_pkt_skip. - * Cursor position will be updated after the operation. + * if needed, positioned using net_pkt_skip. Unlike other functions, + * cursor position will not be updated after the operation. * * @param pkt The network packet from where to get the data. * @param access A pointer to a valid net_pkt_data_access describing the