use netif_set_up to enable the network device

This commit is contained in:
Stefan Lankes 2011-06-21 23:19:28 -07:00
parent fd89f4f825
commit 19fffd46c5

View file

@ -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");