eiwd

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

commit b560ca6173660969d90f7a5be2efa31930a83c66
parent 157d5f9f47a844fcf952b8fb307398b15cb61a4e
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date:   Sat, 11 May 2019 01:18:56 +0200

scan: Make sure request is unqueued in scan_cancel

We were forgetting to handle the case of scan requests that are not at the
top of the queue.

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

diff --git a/src/scan.c b/src/scan.c @@ -578,7 +578,8 @@ bool scan_cancel(uint32_t ifindex, uint32_t id) l_queue_remove(sc->requests, sr); sc->started = false; start_next_scan_request(sc); - } + } else + l_queue_remove(sc->requests, sr); scan_request_free(sr); return true;