diff options
| author | Jérôme Pouiller <[email protected]> | 2021-09-13 15:01:35 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-14 09:16:31 +0200 |
| commit | 10b72a7c59450b409b49abf51c794ec8c7233c11 (patch) | |
| tree | 5001f34e3c9fb080a23887c41b019a2250f75e70 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a5a8eb1fe7448a621400c2c2e748b0a7b3736f43 (diff) | |
staging: wfx: wait for SCAN_CMPL after a SCAN_STOP
When the device has finished a scan request, it send a scan complete
("SCAN_COMPL") indication. It is also possible to abort a scan request
with a "SCAN_STOP" message. A SCAN_COMPL is also send in this case.
The driver limits the delay to make a scan request. A timeout happens
almost never but is theoretically possible. Currently, if it happens
the driver does not wait for the SCAN_COMPL. Then, when the driver
starts the next scan request, the device may return -EBUSY (scan
requests often occur back-to-back).
This patch give a chance to the device to send a SCAN_COMPL after a scan
timeout.
Signed-off-by: Jérôme Pouiller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions