mirror of https://github.com/ARMmbed/mbed-os.git
Incrase netif_up semaphore timeout from 1500ms to 2500ms
parent
9615763490
commit
506d63e8b7
|
@ -105,7 +105,7 @@ int LWIPInterface::connect()
|
||||||
|
|
||||||
// Wait for an IP Address
|
// Wait for an IP Address
|
||||||
// -1: error, 0: timeout
|
// -1: error, 0: timeout
|
||||||
if (netif_up.wait(1500) < 0) {
|
if (netif_up.wait(2500) < 0) {
|
||||||
return NSAPI_ERROR_DHCP_FAILURE;
|
return NSAPI_ERROR_DHCP_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue