mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
scan: Fix crash when a canceled scan gets aborted
This commit is contained in:
parent
87a29c9ca3
commit
304627e086
@ -657,6 +657,7 @@ bool scan_cancel(uint64_t wdev_id, uint32_t id)
|
||||
sc->start_cmd_id = 0;
|
||||
l_queue_remove(sc->requests, sr);
|
||||
sc->started = false;
|
||||
sc->work_started = false;
|
||||
} else
|
||||
l_queue_remove(sc->requests, sr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user