Skip to content
Commit 6cb768cb authored by Michael Scott's avatar Michael Scott Committed by Anas Nashif
Browse files

net: lwm2m: fix connection handling in RD client



A few cases were missed where we weren't cleaning up the existing
connection correctly.  This was easily missed because we try and
clean up the connection everywhere.

Instead, let's clean up any existing connection prior to starting
a new one in the do_bootstrap_reg() and do_registration()
functions.

Signed-off-by: default avatarMichael Scott <mike@foundries.io>
parent 6b990ba9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment