mirror of
https://github.com/esphome/esphome.git
synced 2025-11-15 14:25:45 +00:00
preen
This commit is contained in:
@@ -728,11 +728,9 @@ void WiFiComponent::check_connecting_finished() {
|
|||||||
|
|
||||||
ESP_LOGI(TAG, "Connected");
|
ESP_LOGI(TAG, "Connected");
|
||||||
// We won't retry hidden networks unless a reconnect fails more than three times again
|
// We won't retry hidden networks unless a reconnect fails more than three times again
|
||||||
if (this->retry_hidden_) {
|
if (const WiFiAP *config = this->get_selected_sta_(); this->retry_hidden_ && config && !config->get_hidden()) {
|
||||||
if (const WiFiAP *config = this->get_selected_sta_(); config && !config->get_hidden()) {
|
|
||||||
ESP_LOGW(TAG, "Network '%s' should be marked as hidden", config->get_ssid().c_str());
|
ESP_LOGW(TAG, "Network '%s' should be marked as hidden", config->get_ssid().c_str());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
this->retry_hidden_ = false;
|
this->retry_hidden_ = false;
|
||||||
|
|
||||||
this->print_connect_params_();
|
this->print_connect_params_();
|
||||||
|
|||||||
Reference in New Issue
Block a user