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:
parent
2c3faa0de2
commit
34b67374de
@ -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 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user