eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 99a94bc44105fe3dafc309c59c7adfe95bffe705
parent fd43a3938f6d2a3c53f4146226a88461865dd0f5
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue, 17 Aug 2021 09:44:58 -0700

network: destroy secrets on known network removal

If a known network is removed explicitly IWD should forget any
secrets cached on the network object.

Diffstat:
Msrc/network.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/network.c b/src/network.c @@ -1849,6 +1849,9 @@ static void emit_known_network_removed(struct station *station, void *user_data) if (network && was_hidden) station_hide_network(station, network); + + l_queue_destroy(network->secrets, eap_secret_info_free); + network->secrets = NULL; } static void network_update_hotspot(struct network *network, void *user_data)