eiwd

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

commit c19dc6605f9d7b69dc7e3cef354230cdedbc83d7
parent e11ad832220e9d0709e082ade6938bcc1fd025ab
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 15 Sep 2021 16:05:45 -0700

network: fix pending hidden OWE scan logic

This was actually broken if triggered because __network_connect
checks if network->connect_after_owe_hidden is set and returns
already in progress. We want to keep this behavior though for
obvious reasons.

To fix this station_connect_network can be called directly which
bypasses the check. This is essentially how ANQP avoids this
problem as well.

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

diff --git a/src/network.c b/src/network.c @@ -1955,11 +1955,9 @@ static void event_watch_changed(enum station_event state, if (!network->connect_after_owe_hidden) return; - reply = __network_connect(network, + station_connect_network(network->station, network, network_bss_select(network, true), network->connect_after_owe_hidden); - if (reply) - l_dbus_send(dbus_get_bus(), reply); l_dbus_message_unref(network->connect_after_owe_hidden); network->connect_after_owe_hidden = NULL;