commit | 7973483649bca08c2bbddbf789f434acac984b85 | [log] [tgz] |
---|---|---|
author | Sagar Shah <sagar.shah@legrand.us> | Wed Aug 31 15:15:39 2022 -0700 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Fri Sep 02 11:02:38 2022 +0000 |
tree | 664b1ef3e7a1de1bda90937aeccd512e80cb9f62 | |
parent | cf4578bdda48533743e3076d68e2c482e00a5f95 [diff] |
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: Sagar Shah <sagar.shah@legrand.us>