]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Handle scan result clearing more carefully in ap_country
authorJouni Malinen <j@w1.fi>
Sun, 17 Mar 2019 15:40:39 +0000 (17:40 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 17 Mar 2019 15:40:39 +0000 (17:40 +0200)
commit2b4263d06fb75ae12635cee45532cca1c551c2a4
tree7fd824a7de7fc3b21bea2fdd3c4af4c2e7e05445
parent09bdbc6ed944881446968e24450ee21af40e6fc0
tests: Handle scan result clearing more carefully in ap_country

If the ABORT_SCAN command succeeds, CTRL-EVENT-SCAN-RESULTS event is
delivered for the aborted scan. Following this with an immediate
flush_scan_cache() call can result in the first scan interpreting that
pending event as the completion and that results in trying to start
another scan while the first scan is still in progress.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_params.py