usrsock: Output the log if usrsock_request return error
Signed-off-by: liangchaozhong <liangchaozhong@xiaomi.com>
This commit is contained in:
parent
cc940e8f69
commit
7e80879f88
|
@ -665,6 +665,10 @@ int usrsock_do_request(FAR struct usrsock_conn_s *conn,
|
|||
net_sem_wait_uninterruptible(&req->acksem);
|
||||
--req->nbusy; /* net_lock held. */
|
||||
}
|
||||
else
|
||||
{
|
||||
nerr("error: usrsock request failed with %d\n", ret);
|
||||
}
|
||||
|
||||
/* Free request line for next command. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue