diff options
| author | bernard <[email protected]> | 2014-06-27 14:49:51 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2014-06-27 14:49:51 +0800 |
| commit | b0c94dc4d9dd14d04239312500ada9baecb4701f (patch) | |
| tree | a75b0124bbe99a58458e360584f62f7000c71df2 /components/net | |
| parent | ee78b6190ca7c33d69a2254572b76e4974138d2a (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.c | 2 |
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 |
