net: lwm2m: Fix connection resume without DTLS
LwM2M connection resume was missing socket connection when DTLS is disabled. Signed-off-by: Juha Heiskanen <juha.heiskanen@nordicsemi.no>
This commit is contained in:
parent
9f5f9b42d9
commit
a66970a6b8
1 changed files with 0 additions and 4 deletions
|
@ -251,10 +251,6 @@ int lwm2m_engine_connection_resume(struct lwm2m_ctx *client_ctx)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!client_ctx->use_dtls) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
LOG_DBG("Resume suspended connection");
|
LOG_DBG("Resume suspended connection");
|
||||||
return lwm2m_socket_start(client_ctx);
|
return lwm2m_socket_start(client_ctx);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue