eiwd

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

commit 85fd9f50f73ed2c6ce6283a247cd5c871050b8fe
parent 24235a2af8f75233d1dadd717270aa1908a9c116
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon, 16 Mar 2020 12:22:42 -0700

netdev: fix auth protocols not setting ->connected

This causes netdev to think another supplicant is running when it
recieves a connect event due to an auth protocol running.

Diffstat:
Msrc/netdev.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/netdev.c b/src/netdev.c @@ -2413,7 +2413,9 @@ static int netdev_connect_common(struct netdev *netdev, NL80211_EXT_FEATURE_CAN_REPLACE_PTK0)) handshake_state_set_no_rekey(hs, true); - auth_proto_start(netdev->ap); + /* set connected since the auth protocols cannot do so internally */ + if (netdev->ap && auth_proto_start(netdev->ap)) + netdev->connected = true; return 0; }