mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 09:38:42 +00:00
Merge remote-tracking branch 'upstream/fix-roaming-grace-period' into integration
This commit is contained in:
@@ -1593,7 +1593,8 @@ void WiFiComponent::check_connecting_finished(uint32_t now) {
|
||||
if (this->roaming_target_bssid_ != bssid_t{} && current_bssid == this->roaming_target_bssid_) {
|
||||
char bssid_buf[MAC_ADDRESS_PRETTY_BUFFER_SIZE];
|
||||
format_mac_addr_upper(current_bssid.data(), bssid_buf);
|
||||
ESP_LOGD(TAG, "Roam successful (via retry) to %s", bssid_buf);
|
||||
ESP_LOGD(TAG, "Roam successful (via retry, attempt %u/%u) to %s", this->roaming_attempts_, ROAMING_MAX_ATTEMPTS,
|
||||
bssid_buf);
|
||||
this->roaming_attempts_ = 0;
|
||||
} else if (this->roaming_target_bssid_ != bssid_t{}) {
|
||||
// Failed roam to specific target, reconnected to different AP - keep attempts to prevent ping-pong
|
||||
|
||||
Reference in New Issue
Block a user