fix bug by disabling LwIP
This commit is contained in:
parent
026d5e264c
commit
81a24913ca
1 changed files with 4 additions and 2 deletions
|
@ -163,15 +163,17 @@ int network_init(void)
|
|||
|
||||
int network_shutdown(void)
|
||||
{
|
||||
#if defined(CONFIG_LWIP) && defined(CONFIG_ROCKCREEK)
|
||||
#ifdef CONFIG_LWIP
|
||||
#ifdef CONFIG_ROCKCREEK
|
||||
//mmnif_close();
|
||||
#elif defined(CONFIG_LWIP) && defined(CONFIG_PCI)
|
||||
#elif defined(CONFIG_PCI)
|
||||
dhcp_release(default_netif);
|
||||
dhcp_stop(default_netif);
|
||||
#endif
|
||||
|
||||
mem_free(default_netif);
|
||||
default_netif = NULL;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue