Skip to content

Commit 8d21488

Browse files
Archcadyadbridge
authored andcommitted
resolve lwip init twice issue
resolve wifi example test fail before lwip is init
1 parent 250319a commit 8d21488

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/FEATURE_LWIP/lwip-interface/lwip_stack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ nsapi_error_t mbed_lwip_emac_init(emac_interface_t *emac)
467467
eth_arch_enable_interrupts();
468468
#endif
469469

470+
netif_inited = true;
470471
return NSAPI_ERROR_OK;
471472
#else
472473
return NSAPI_ERROR_UNSUPPORTED;

0 commit comments

Comments
 (0)