mirror of
https://github.com/esphome/esphome.git
synced 2026-02-20 16:35:37 -07:00
its going to drop anyways
This commit is contained in:
@@ -242,11 +242,7 @@ bool WiFiComponent::wifi_sta_connect_(const WiFiAP &ap) {
|
||||
if (!this->wifi_mode_(true, {}))
|
||||
return false;
|
||||
|
||||
// Skip disconnect for roaming - let the SDK handle the transition
|
||||
// This preserves TCP connections during the brief AP switch
|
||||
if (!this->roaming_connect_active_) {
|
||||
this->wifi_disconnect_();
|
||||
}
|
||||
this->wifi_disconnect_();
|
||||
|
||||
struct station_config conf {};
|
||||
memset(&conf, 0, sizeof(conf));
|
||||
|
||||
Reference in New Issue
Block a user