eiwd

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

commit b4fb60b2c5d9cdfcd9b82635b1c0715b91103846
parent 6a525906875edcbb82668587283bf0f43968b046
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 28 Aug 2019 09:14:27 -0700

knownnetworks: remove redundant ops->remove()

The remove op was being called inside known_networks_remove, which only
gets called from L_DIR_WATCH events. In this case the actual provisioning
has already been removed. Calling remove() again causes the op
implementation to then try and remove the file that no longer exists.

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

diff --git a/src/knownnetworks.c b/src/knownnetworks.c @@ -566,8 +566,6 @@ void known_networks_remove(struct network_info *network) known_networks_watch_func_t, KNOWN_NETWORKS_EVENT_REMOVED, network); - network->ops->remove(network); - network_info_free(network); }