Skip to content
Commit e2ab41b6 authored by Seppo Takalo's avatar Seppo Takalo Committed by Maureen Helm
Browse files

net: lwm2m: Fix pull-context on queue mode



Two issues fixed:
When pull-context is created, it does not have to wake up the RD
client context. Ignore the EPERM warning.

When new pull-context creates a new socket, sometimes socket-loop
gets to recvfrom() before we have set O_NONBLOCK on the socket.
So use ZSOCK_MSG_DONTWAIT on zsock_recvfrom() so it does not
block the socket loop.

Fixes #71450

Signed-off-by: default avatarSeppo Takalo <seppo.takalo@nordicsemi.no>
parent 330b23bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment