Incrase netif_up semaphore timeout from 1500ms to 2500ms

Devaraj Ranganna 2016-05-26 11:18:45 +01:00
parent 9615763490
commit 506d63e8b7
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ int LWIPInterface::connect()
// Wait for an IP Address
// -1: error, 0: timeout
if (netif_up.wait(1500) < 0) {
if (netif_up.wait(2500) < 0) {
return NSAPI_ERROR_DHCP_FAILURE;
}