Rename tcpip_send_api_msg to tcpip_send_msg_wait_sem (hopefully a little bit clearer name)

This commit is contained in:
Dirk Ziegelmeier
2016-03-16 21:54:38 +01:00
parent 5f8b5cbb20
commit d6adc1f6cb
3 changed files with 9 additions and 9 deletions

View File

@@ -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;