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

@ -70,6 +70,10 @@ HISTORY
++ Bugfixes:
2010-01-31: Simon Goldschmidt
* netif.c: Don't call the link-callback from netif_set_up/down() since
this invalidly retriggers DHCP.
2010-01-29: Simon Goldschmidt
* ip_addr.h, inet.h, def.h, inet.c, def.c, more: Cleanly separate the
portability file inet.h and its contents from the stack: moved htonX-

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);
}
}