Skip to content
Commit 558e2a55 authored by Robert Lubos's avatar Robert Lubos Committed by Benjamin Cabé
Browse files

net: lwm2m: Fix time resource validation



When writing to a time resource, the logic was incorrect when validation
was enabled for the resource - when determining the actual underlying data
type we should compare against the data buffer length and not the
validation buffer length.

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