This commit is contained in:
J. Nick Koston
2025-11-06 13:52:32 -06:00
parent 703b1cf314
commit 4439b45fba

View File

@@ -385,12 +385,14 @@ class WiFiComponent : public Component {
this->start_connecting(connection_params, two);
}
#ifdef USE_WIFI_FAST_CONNECT
// Reset state for next fast connect AP attempt
// Clears old scan data so the new AP is tried with config only (SSID without specific BSSID/channel)
void reset_for_next_ap_attempt_() {
this->num_retried_ = 0;
this->scan_result_.clear();
}
#endif
void wifi_loop_();
bool wifi_mode_(optional<bool> sta, optional<bool> ap);