mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:12:48 +01:00
network: destroy secrets on known network removal
If a known network is removed explicitly IWD should forget any secrets cached on the network object.
This commit is contained in:
parent
fd43a3938f
commit
99a94bc441
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user