mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
document, document, document
This commit is contained in:
@@ -1293,7 +1293,8 @@ void WiFiComponent::check_connecting_finished(uint32_t now) {
|
||||
}
|
||||
this->roaming_connect_active_ = false;
|
||||
|
||||
// Clear all priority penalties - successful connection forgives past failures
|
||||
// Clear all priority penalties - the next reconnect will happen when an AP disconnects,
|
||||
// which means the landscape has likely changed and previous tracked failures are stale
|
||||
this->clear_all_bssid_priorities_();
|
||||
|
||||
#ifdef USE_WIFI_FAST_CONNECT
|
||||
|
||||
@@ -501,7 +501,7 @@ class WiFiComponent : public Component {
|
||||
int8_t find_next_hidden_sta_(int8_t start_index);
|
||||
/// Log failed connection and decrease BSSID priority to avoid repeated attempts
|
||||
void log_and_adjust_priority_for_failed_connect_();
|
||||
/// Clear all BSSID priority penalties (e.g., after successful connection)
|
||||
/// Clear all BSSID priority penalties after successful connection (stale after disconnect)
|
||||
void clear_all_bssid_priorities_();
|
||||
/// Clear BSSID priority tracking if all priorities are at minimum (saves memory)
|
||||
void clear_priorities_if_all_min_();
|
||||
|
||||
Reference in New Issue
Block a user