Skip to content
Commit 126da286 authored by Robert Lubos's avatar Robert Lubos Committed by Kumar Gala
Browse files

net: lwm2m: Trigger registration update only when registered



Add extra check for the LwM2M client state, to allow triggering of the
Registration Update message only when registered.

This fixes an issue, when the `trigger_update` flag could be set during
the bootstrap procedure (when the value of the Lifetime resource was
set), which resulted in an uneccessary Registration Update message just
after the successful registration.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 121a164e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment