Don't call the link-callback from netif_set_up/down() since

this invalidly retriggers DHCP.
This commit is contained in:
goldsimon
2010-01-31 13:30:47 +00:00
parent 2e8de4f601
commit 8712deb0b2
2 changed files with 4 additions and 2 deletions

View File

@@ -405,7 +405,6 @@ void netif_set_up(struct netif *netif)
snmp_get_sysuptime(&netif->ts);
#endif /* LWIP_SNMP */
NETIF_LINK_CALLBACK(netif);
NETIF_STATUS_CALLBACK(netif);
#if LWIP_ARP
@@ -440,7 +439,6 @@ void netif_set_down(struct netif *netif)
snmp_get_sysuptime(&netif->ts);
#endif
NETIF_LINK_CALLBACK(netif);
NETIF_STATUS_CALLBACK(netif);
}
}