diff --git a/components/wifi-manager/network_manager_handlers.c b/components/wifi-manager/network_manager_handlers.c index 508fd56f..b5af5d00 100644 --- a/components/wifi-manager/network_manager_handlers.c +++ b/components/wifi-manager/network_manager_handlers.c @@ -237,13 +237,13 @@ static state_machine_result_t NETWORK_INSTANTIATED_STATE_handler(state_machine_t ESP_LOGD(TAG, "sta_polling_min_ms set to %d", nm->sta_polling_min_ms); FREE_AND_NULL(valuestr); } - valuestr=config_alloc_get_default(NVS_TYPE_STR,"ethtmout","8",0); + valuestr=config_alloc_get_default(NVS_TYPE_STR,"ethtmout","30",0); if (valuestr) { nm->eth_link_down_reboot_ms = atoi(valuestr)*1000; ESP_LOGD(TAG, "ethtmout set to %d", nm->eth_link_down_reboot_ms); FREE_AND_NULL(valuestr); } - valuestr=config_alloc_get_default(NVS_TYPE_STR,"dhcp_tmout","8",0); + valuestr=config_alloc_get_default(NVS_TYPE_STR,"dhcp_tmout","30",0); if(valuestr){ nm->dhcp_timeout = atoi(valuestr)*1000; ESP_LOGD(TAG, "dhcp_timeout set to %d", nm->dhcp_timeout);