forked from Imagelibrary/lwip
Fix newly introduced tcpip_api_call did not return correct return value
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user