diff --git a/esphome/components/wifi/wifi_component_pico_w.cpp b/esphome/components/wifi/wifi_component_pico_w.cpp index e15fa250f9..84c10d5d43 100644 --- a/esphome/components/wifi/wifi_component_pico_w.cpp +++ b/esphome/components/wifi/wifi_component_pico_w.cpp @@ -143,7 +143,7 @@ void WiFiComponent::wifi_scan_result(void *env, const cyw43_ev_scan_result_t *re // Skip networks that don't match any configured network (unless full results needed) if (!this->needs_full_scan_results_() && !this->matches_configured_network_(ssid_cstr, result->bssid)) { - this->log_discarded_scan_result(ssid_cstr, result->bssid, result->rssi, result->channel); + this->log_discarded_scan_result_(ssid_cstr, result->bssid, result->rssi, result->channel); return; }