From 34b67374dec75e4adbc7925a8f262284fccb00a0 Mon Sep 17 00:00:00 2001 From: Michael Scott Date: Thu, 19 Jan 2017 14:00:43 -0800 Subject: [PATCH] net: net_context: correct description of recv_data_wait in net_context The recv_data_wait field in struct net_context is described as a "Mutex" when in fact it's a semaphore signal. Change-Id: I3bef8d1a07ceb3da5894ae4cdc8f1fe3c61c5dbe Signed-off-by: Michael Scott --- include/net/net_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/net_context.h b/include/net/net_context.h index a74e82965c6..79111baa9cf 100644 --- a/include/net/net_context.h +++ b/include/net/net_context.h @@ -150,7 +150,7 @@ struct net_context { #if defined(CONFIG_NET_CONTEXT_SYNC_RECV) /** - * Mutex for synchronous recv API call. + * Semaphore to signal synchronous recv call completion. */ struct k_sem recv_data_wait; #endif /* CONFIG_NET_CONTEXT_SYNC_RECV */