mirror of
https://github.com/esphome/esphome.git
synced 2025-08-02 00:17:48 +00:00
Revert "missed one"
This reverts commit 8ba14d1f548b38d41ae85da5d0e8da8eda1da06a.
This commit is contained in:
parent
126f7acad2
commit
d40fcb324c
@ -428,8 +428,7 @@ bool APIServer::save_noise_psk(psk_t psk, bool make_active) {
|
|||||||
ESP_LOGW(TAG, "Disconnecting all clients to reset PSK");
|
ESP_LOGW(TAG, "Disconnecting all clients to reset PSK");
|
||||||
this->set_noise_psk(psk);
|
this->set_noise_psk(psk);
|
||||||
for (auto &c : this->clients_) {
|
for (auto &c : this->clients_) {
|
||||||
DisconnectRequest req;
|
c->send_message(DisconnectRequest());
|
||||||
c->send_message(req, DisconnectRequest::MESSAGE_TYPE);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user