diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/net.c b/net/net.c index 4758595d1c8..3081829010a 100644 --- a/net/net.c +++ b/net/net.c @@ -251,7 +251,8 @@ NetLoop(proto_t protocol) } eth_halt(); - eth_init(bd); + if(eth_init(bd) < 0) + return(-1); restart: #ifdef CONFIG_NET_MULTI |