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 <michael.scott@linaro.org>
This commit is contained in:
Michael Scott 2017-01-19 14:00:43 -08:00 committed by Jukka Rissanen
parent 2c3faa0de2
commit 34b67374de

View File

@ -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 */