Skip to content

Commit 57fa2e7

Browse files
committed
Merge branch 'bugfix/remove_fast_reconnect' into 'release/v2.2.x'
fix(lwip): remove fast reconnect when ip lost See merge request sdk/ESP8266_NONOS_SDK!133
2 parents fb644c1 + f0dc656 commit 57fa2e7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ phy:
1818

1919
gitlab:
2020
driver : 68fc7b06
21-
lwip : 863c3eea
21+
lwip : d481a1f7
2222
mbedtls : e4dace14

lib/liblwip.a

16 Bytes
Binary file not shown.

third_party/lwip/core/dhcp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ dhcp_fine_tmr()
383383
/* only act on DHCP configured interfaces */
384384
if (netif->dhcp != NULL) {
385385
/*add DHCP retries processing by LiuHan*/
386-
if (DHCP_MAXRTX != 0) {
386+
if (DHCP_MAXRTX != 0 && netif->dhcp->state != DHCP_RENEWING) {
387387
if (netif->dhcp->tries >= DHCP_MAXRTX){
388388
os_printf("DHCP timeout\n");
389389
if (netif->dhcp_event != NULL)

0 commit comments

Comments
 (0)