use netif_set_up to enable the network device
This commit is contained in:
parent
fd89f4f825
commit
19fffd46c5
1 changed files with 1 additions and 5 deletions
|
@ -101,11 +101,7 @@ int STDCALL network_task(void* arg)
|
|||
}
|
||||
|
||||
netif_set_default(&netif);
|
||||
|
||||
if (netif_is_up(&netif)) {
|
||||
kputs("Network interface is not up\n");
|
||||
return -EIO;
|
||||
}
|
||||
netif_set_up(&netif);
|
||||
|
||||
#ifndef CONFIG_ROCKCREEK
|
||||
kprintf("Starting DHCPCD...\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue