eiwd

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

commit ea324a795987d308800999f70cecba841279e127
parent 61d0abe910cd25c07f0eee75dc29dc3ca3e8c413
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Tue, 20 Apr 2021 10:45:25 -0500

netdev: Fix connections to open networks

Fix a regression where connection to an open network results in an
NotSupported error being returned.

Fixes: d79e883e93df ("netdev: Introduce connection types")

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

diff --git a/src/netdev.c b/src/netdev.c @@ -3232,6 +3232,11 @@ int netdev_connect(struct netdev *netdev, struct scan_bss *bss, if (netdev->connected || netdev->connect_cmd_id || netdev->work.id) return -EISCONN; + if (!is_rsn) { + nhs->type = CONNECTION_TYPE_SOFTMAC; + goto build_cmd_connect; + } + if (netdev_handshake_state_setup_connection_type(hs) < 0) return -ENOTSUP;