Rename tcpip_send_api_msg to tcpip_send_msg_wait_sem (hopefully a little bit clearer name)
This commit is contained in:
@@ -84,7 +84,7 @@ tcpip_apimsg(tcpip_callback_fn fn, struct api_msg *apimsg)
|
||||
apimsg->op_completed_sem = LWIP_NETCONN_THREAD_SEM_GET();
|
||||
#endif /* LWIP_NETCONN_SEM_PER_THREAD */
|
||||
|
||||
if (tcpip_send_api_msg(fn, apimsg, LWIP_API_MSG_SEM(apimsg)) == ERR_OK) {
|
||||
if (tcpip_send_msg_wait_sem(fn, apimsg, LWIP_API_MSG_SEM(apimsg)) == ERR_OK) {
|
||||
return apimsg->err;
|
||||
}
|
||||
return ERR_VAL;
|
||||
|
||||
Reference in New Issue
Block a user