Skip to content
Commit 02ab8787 authored by Krishna T's avatar Krishna T Committed by Carles Cufí
Browse files

net: ethernet: Check return value for start/stop



The L2 networking layer checks for return value from enable, but
Ethernet is not checking and always returns 0, so, relay the return
value from the Ethernet driver to networking stack.

This fixes the issue of interface start failing but interface still
being up.

Signed-off-by: default avatarKrishna T <krishna.t@nordicsemi.no>
parent ff6b526a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment