1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-16 06:45:48 +00:00
This commit is contained in:
J. Nick Koston
2025-11-09 17:12:18 -06:00
parent 3b264ad5a1
commit 37279cb224

View File

@@ -835,8 +835,7 @@ void WiFiComponent::check_scanning_finished() {
// Don't call retry_connect() since we never attempted a connection (no BSSID to penalize)
this->transition_to_phase_(WiFiRetryPhase::SCAN_WITH_HIDDEN);
// Now start connection attempt in hidden mode
}
elif (this->transition_to_phase_(WiFiRetryPhase::SCAN_CONNECTING)) {
} else if (this->transition_to_phase_(WiFiRetryPhase::SCAN_CONNECTING)) {
return; // scan started, wait for next loop iteration
}