diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/net/lwip-1.4.0/src/netif/ethernetif.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/net/lwip-1.4.0/src/netif/ethernetif.c b/components/net/lwip-1.4.0/src/netif/ethernetif.c index 0a3774ce3c..fe242e8359 100644 --- a/components/net/lwip-1.4.0/src/netif/ethernetif.c +++ b/components/net/lwip-1.4.0/src/netif/ethernetif.c @@ -153,6 +153,9 @@ static err_t ethernetif_init(struct netif *netif) /* ethernetif APIs */ +/* WARNING: because netif_set_up() is not re-entrance ( it will pending on sem/mbox ) + * you MUST NOT call it before scheduler starts. + */ rt_err_t eth_device_init(struct eth_device* dev, const char* name) { struct netif* pnetif; |
