eiwd

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

commit 189c23a5d9ece18c5b336655b870145675bd1412
parent 109cb70f227cb1a80ffb38ffd862ab17571e1c25
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 18 May 2023 09:50:00 -0700

station: use wiphy_radio_work_reschedule in FT path

If FT fails the work item needs to be rescheduled rather than
inserted.

Diffstat:
Msrc/station.c | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/station.c b/src/station.c @@ -2330,8 +2330,12 @@ static bool station_fast_transition(struct station *station, ft_authenticate(netdev_get_ifindex(station->netdev), bss); done: - wiphy_radio_work_insert(station->wiphy, &station->ft_work, - WIPHY_WORK_PRIORITY_CONNECT, &ft_work_ops); + if (station->ft_work.id) + wiphy_radio_work_reschedule(station->wiphy, &station->ft_work); + else + wiphy_radio_work_insert(station->wiphy, &station->ft_work, + WIPHY_WORK_PRIORITY_CONNECT, + &ft_work_ops); return true; }