Commit 163c37a5 authored by Cedric Roux's avatar Cedric Roux
Browse files

bugfix: return error in 'emm_msg_encode' in case of failure

parent 53e416be
......@@ -464,6 +464,9 @@ int emm_msg_encode(EMM_msg *msg, uint8_t *buffer, uint32_t len)
if (encode_result < 0)
LOG_FUNC_RETURN (encode_result);
LOG_FUNC_RETURN (header_result + encode_result);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment