net: Open ethernet devices explicitly
Open ethernet devices explicitly rather than implicitly when sending
packets. This allows us to not only enable, but in the next step to
also disable ethernet devices.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6a58ec6 commit 18cce41473e3c2dbeb50e28daed36411112d72df
@Sascha Hauer Sascha Hauer authored on 11 Mar 2020
Showing 4 changed files
View
include/net.h
View
net/dhcp.c
View
net/eth.c
View
net/ifup.c