eiwd

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

commit 088bb2e308555c8630e095f3e688ebdd9a7a6a2d
parent 57dc5d843c64e5e8e3a889844556b2b1aa22c569
Author: James Prestwood <prestwoj@gmail.com>
Date:   Fri, 22 Aug 2025 12:51:17 -0700

station: clear roam_freqs on delayed roam

If there were no BSS candidates found after trying to roam make
sure the old roam_freqs list gets cleared so IWD doesn't end up
scanning potentially old frequencies on the next retry.

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

diff --git a/src/station.c b/src/station.c @@ -2404,6 +2404,11 @@ static void station_roam_retry(struct station *station) station->roam_scan_full = false; station->ap_directed_roaming = false; + if (station->roam_freqs) { + scan_freq_set_free(station->roam_freqs); + station->roam_freqs = NULL; + } + if (station->signal_low) station_roam_timeout_rearm(station, roam_retry_interval); }