mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +00:00
Fix newly introduced tcpip_api_call did not return correct return value
This commit is contained in:
parent
c39ef75cb3
commit
a1fc91afa8
@ -397,7 +397,7 @@ tcpip_api_call(tcpip_api_call_fn fn, struct tcpip_api_call *call)
|
||||
sys_sem_free(&call->sem);
|
||||
#endif /* LWIP_NETCONN_SEM_PER_THREAD */
|
||||
TCPIP_MSG_VAR_FREE(msg);
|
||||
return ERR_OK;
|
||||
return call->err;
|
||||
}
|
||||
return ERR_VAL;
|
||||
#endif /* LWIP_TCPIP_CORE_LOCKING */
|
||||
|
Loading…
Reference in New Issue
Block a user