diff options
| author | Jérôme Pouiller <[email protected]> | 2021-09-13 15:01:36 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-14 09:16:31 +0200 |
| commit | 8bce06b06b807468f36631f1fe17cbc336debde7 (patch) | |
| tree | 305179b22a08b5855d9c4b1e944897c9f2bbb302 /tools/perf/scripts | |
| parent | 10b72a7c59450b409b49abf51c794ec8c7233c11 (diff) | |
staging: wfx: avoid possible lock-up during scan
If the environment is noisy, the device may take time to send scan
requests. Thus, scan requests durations > 5s have already been observed.
During the scan, traffic is neither received, neither sent. From the
user point-of-view, the traffic is frozen for a long time.
This patch reworks the scan processing. It gives to the device a smaller
time budget than previously. However, it does not expect the scan to be
complete and it is able to send another scan request to finish the work.
A big part of the patch aims to avoid an infinite loop if the device
goes crazy.
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')
0 files changed, 0 insertions, 0 deletions