mirror of
https://github.com/esphome/esphome.git
synced 2025-11-18 15:55:46 +00:00
revert yet another bad copilot suggesiton
This commit is contained in:
@@ -366,8 +366,8 @@ WiFiAP WiFiComponent::build_selected_ap_() const {
|
||||
// There might be multiple hidden networks with same SSID but we can't know which is correct
|
||||
// Rely on probe-req with just SSID. Empty channel triggers ALL_CHANNEL_SCAN.
|
||||
// Note: Scan data is never used for hidden networks (see !params.get_hidden() check below)
|
||||
params.set_bssid({});
|
||||
params.set_channel({});
|
||||
params.set_bssid(optional<bssid_t>{});
|
||||
params.set_channel(optional<uint8_t>{});
|
||||
} else {
|
||||
params.set_bssid(config->get_bssid());
|
||||
params.set_channel(config->get_channel());
|
||||
|
||||
Reference in New Issue
Block a user