Skip to content
Commit 79734836 authored by Sagar Shah's avatar Sagar Shah Committed by Fabio Baltieri
Browse files

net: lib: coap: coap_packet_parse() returns different error values



coap_packet_parse() returns different values depending on error.
It now returns
-EINVAL for invalid input arguments,
-EBADMSG for malformed coap header,
-EILSEQ for malformed options error.

Fixes: #48960

Signed-off-by: default avatarSagar Shah <sagar.shah@legrand.us>
parent cf4578bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment