eiwd

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

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

network: check info match for unsetting hotspot info

No need to check for matching if unsetting

Diffstat:
Msrc/network.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/network.c b/src/network.c @@ -1337,7 +1337,7 @@ static void network_unset_hotspot(struct network *network, void *user_data) { struct network_info *info = user_data; - if (!hotspot_info_matches(network, info)) + if (network->info != info) return; network_set_info(network, NULL);