mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #144 from devran01/master
Incrase netif_up semaphore timeout from 1500ms to 2500ms
commit
11baa9dce0
|
@ -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