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

net: lib: coap: method_from_code() API change to return errors.



method_from_code() signature has changed to return error and
the method. In case of an invalid code it returns -EINVAL and
causes coap_handle_request() to return -ENOTSUP.

Fixes: #49498

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