mirror of
https://github.com/apache/nuttx.git
synced 2025-12-13 06:14:40 +08:00
net: consistent the net sem wait naming conversion
to prepare the new mutex wait function Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
32d0c2ce9d
commit
a851ad84c3
@@ -1218,7 +1218,7 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf,
|
||||
goto errout_with_lock;
|
||||
}
|
||||
|
||||
ret = net_timedwait_uninterruptible(&conn->snd_sem,
|
||||
ret = net_sem_timedwait_uninterruptible(&conn->snd_sem,
|
||||
tcp_send_gettimeout(start, timeout));
|
||||
if (ret < 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user