From b0c94dc4d9dd14d04239312500ada9baecb4701f Mon Sep 17 00:00:00 2001 From: bernard Date: Fri, 27 Jun 2014 14:49:51 +0800 Subject: [PATCH] [lwIP] Fix the usage issue of NETIF_LINK_CALLBACK. --- components/net/lwip-1.4.1/src/arch/sys_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/net/lwip-1.4.1/src/arch/sys_arch.c b/components/net/lwip-1.4.1/src/arch/sys_arch.c index ee1d952410..356dc101cf 100644 --- a/components/net/lwip-1.4.1/src/arch/sys_arch.c +++ b/components/net/lwip-1.4.1/src/arch/sys_arch.c @@ -108,7 +108,7 @@ static void tcpip_init_done_callback(void *arg) netif_set_up(ethif->netif); } -#ifdef LWIP_NETIF_LINK_CALLBACK +#if LWIP_NETIF_LINK_CALLBACK netif_set_link_up(ethif->netif); #endif -- GitLab