We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fb644c1 + f0dc656 commit 57fa2e7Copy full SHA for 57fa2e7
VERSION
@@ -18,5 +18,5 @@ phy:
18
19
gitlab:
20
driver : 68fc7b06
21
- lwip : 863c3eea
+ lwip : d481a1f7
22
mbedtls : e4dace14
lib/liblwip.a
16 Bytes
third_party/lwip/core/dhcp.c
@@ -383,7 +383,7 @@ dhcp_fine_tmr()
383
/* only act on DHCP configured interfaces */
384
if (netif->dhcp != NULL) {
385
/*add DHCP retries processing by LiuHan*/
386
- if (DHCP_MAXRTX != 0) {
+ if (DHCP_MAXRTX != 0 && netif->dhcp->state != DHCP_RENEWING) {
387
if (netif->dhcp->tries >= DHCP_MAXRTX){
388
os_printf("DHCP timeout\n");
389
if (netif->dhcp_event != NULL)
0 commit comments