knownnetworks: Add back removing network files

This step apparently got lost during the refactoring in
97913c6f9a.
This commit is contained in:
Andrew Zaborowski 2018-08-01 03:56:43 +02:00 committed by Denis Kenzior
parent e1634baae4
commit 17c35dd1bc
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ static struct l_dbus_message *known_network_forget(struct l_dbus *dbus,
l_queue_remove(known_networks, network);
l_dbus_unregister_object(dbus, iwd_known_network_get_path(network));
storage_network_remove(network->type, network->ssid);
/*
* network_info_forget_known will either re-add the network_info to