nl80211: keep awaiting wpa_supplicant scan results on busy response
authorJo-Philipp Wich <jo@mein.io>
Sun, 22 Sep 2019 16:28:40 +0000 (18:28 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 22 Sep 2019 16:49:26 +0000 (18:49 +0200)
commit313e82709ba90f3a966f0dd348bcad007ca316be
tree7012aea97a8b785de20bc4b48e5808391793d764
parenta76675136938c120e55a52c86fd89683486dc78c
nl80211: keep awaiting wpa_supplicant scan results on busy response

When wpa_supplicant responds with FAIL-BUSY in response to the SCAN
command, a scan process is already in process. Instead of failing in
this case, simply keep awaiting the result list.

This also significantly speeds up the scan operation in many cases.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
iwinfo_nl80211.c