eiwd

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

commit 1921990acd2c6caccad3c8d9e536f2032123dd2d
parent 636bf5749f6b2d41fa7ef78353edbe626f73e598
Author: Tim Kourt <tim.a.kourt@linux.intel.com>
Date:   Thu, 15 Aug 2019 16:44:24 -0700

network: Refactor debug statement

This way the outcome of the decision whether to ask for the
passphrase or not can be seen.

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

diff --git a/src/network.c b/src/network.c @@ -787,9 +787,6 @@ static struct l_dbus_message *network_connect_psk(struct network *network, */ bool need_passphrase = bss_is_sae(bss); - l_debug("ask_passphrase: %s", - network->ask_passphrase ? "true" : "false"); - if (!network_settings_load(network)) { network->settings = l_settings_new(); network->ask_passphrase = true; @@ -797,6 +794,9 @@ static struct l_dbus_message *network_connect_psk(struct network *network, network->ask_passphrase = network_load_psk(network, need_passphrase) < 0; + l_debug("ask_passphrase: %s", + network->ask_passphrase ? "true" : "false"); + if (network->ask_passphrase) { network->ask_passphrase = false;