summaryrefslogtreecommitdiff
path: root/components/net
diff options
context:
space:
mode:
authorbernard <[email protected]>2014-06-27 14:49:51 +0800
committerbernard <[email protected]>2014-06-27 14:49:51 +0800
commitb0c94dc4d9dd14d04239312500ada9baecb4701f (patch)
treea75b0124bbe99a58458e360584f62f7000c71df2 /components/net
parentee78b6190ca7c33d69a2254572b76e4974138d2a (diff)
[lwIP] Fix the usage issue of NETIF_LINK_CALLBACK.
Diffstat (limited to 'components/net')
-rw-r--r--components/net/lwip-1.4.1/src/arch/sys_arch.c2
1 files changed, 1 insertions, 1 deletions
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