eiwd

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

commit dfd304353d4f74c45b9eb6a0fbee57bcf1eab5de
parent b6884df39a8921d2ef780140003d976d432e8784
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 23 Sep 2021 15:57:27 -0700

station: check if connected before allowing Roam()

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

diff --git a/src/station.c b/src/station.c @@ -4081,6 +4081,9 @@ static struct l_dbus_message *station_force_roam(struct l_dbus *dbus, if (mac_len != 6) return dbus_error_invalid_args(message); + if (!station->connected_network) + return dbus_error_not_connected(message); + target = network_bss_find_by_addr(station->connected_network, mac); if (!target || target == station->connected_bss) return dbus_error_invalid_args(message);