]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make dbus_scan_abort more robust
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 20 Sep 2017 12:37:58 +0000 (15:37 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 20 Sep 2017 12:37:58 +0000 (15:37 +0300)
commitf41f04d04c4405d8b642419fb50814fa9a3b3a5e
tree829927e52096deb410f890df5ae09d2ff84c0620
parent3de1566db829a2a33edd0101009ac60b9af98b66
tests: Make dbus_scan_abort more robust

There was a race condition on the sequence where iface.AbortScan() is
immediately followed by iface.Scan(). If the driver event
(NL80211_CMD_SCAN_ABORTED) arrived after the following new scan request,
the D-Bus operation failed. This is not what this test case is trying to
check, so wait for an indication of the previous scan having terminated
properly before issuing the next scan.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_dbus.py