eiwd

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

commit 59c4c8ac6bacf59d53b982f4ab326539aeba2e8b
parent b5aefede951bf192a953611d2064ef40c6d2e91d
Author: Tim Kourt <tim.a.kourt@linux.intel.com>
Date:   Tue, 18 Sep 2018 14:48:50 -0700

scan: change scan triggered notification behavior

Do not notify the caller after the first scan_triggered event in
multi-segmented scans.

Diffstat:
Msrc/scan.c | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/scan.c b/src/scan.c @@ -254,8 +254,15 @@ static void scan_triggered(struct l_genl_msg *msg, void *userdata) sr->passive ? "Passive" : "Active", sc->ifindex); sr->triggered = true; - if (sr->trigger) + if (sr->trigger) { sr->trigger(0, sr->userdata); + + /* + * Reset callback for the consequent scan triggerings of the + * multi-segmented scans. + */ + sr->trigger = NULL; + } } struct scan_freq_append_data {