Merge branch 'wifi_fail_too_quickly_fix' into wifi_timeout

This commit is contained in:
J. Nick Koston
2025-12-14 13:27:09 -06:00
+2 -1
View File
@@ -1200,7 +1200,8 @@ void WiFiComponent::check_connecting_finished() {
uint32_t now = millis();
if (now - this->action_started_ > WIFI_CONNECT_TIMEOUT_MS) {
ESP_LOGW(TAG, "Connection timeout");
ESP_LOGW(TAG, "Connection timeout, aborting connection attempt");
this->wifi_disconnect_();
this->retry_connect();
return;
}