Skip to content
Commit ab448a88 authored by Robert Lubos's avatar Robert Lubos Committed by Benjamin Cabé
Browse files

net: openthread: Fix ignored return values in OT utils



Do not ignore return values of OT functions registering IPv6 addresses.
As this is called from the net_mgmt callback context, which returns
void, there's not much that can be done, other than logging the error.

To simplify the logging code and avoid the need to use extra buffer,
use net_sprint_ipv6_addr() networking utility function within the log
message to convert binary address to string.

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