Skip to content
Commit d3ba674a authored by Robert Lubos's avatar Robert Lubos Committed by Chris Friedt
Browse files

net: lwm2m: Handle RESET replies for separate response



Separate CON responses do no have a reply callback registered (as no
response is expected), however are still registered for retransmission
on the pending list. Therefore, we not only need to check for empty
ACKs for such case but for RESET packets as well. However, this cannot
be done before "reply" processing, as some of the reply handlers
(notifications namely) check for RESET replies.

Therefore, add a final check for the RESET response after the existing
"reply" logic. In such case, just remove the pending response packet
from the retransmission queue, and release resources.

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