tests: More robust owe_transition_mode* tests

Flush old scan results in these test cases to avoid checking incorrect
scan result entry.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2017-10-18 00:39:43 +03:00 committed by Jouni Malinen
parent 6338c99efa
commit 8e5931f0c7

View file

@ -141,6 +141,7 @@ def test_owe_transition_mode_connect_cmd(dev, apdev):
def run_owe_transition_mode(dev, apdev):
if "OWE" not in dev[0].get_capability("key_mgmt"):
raise HwsimSkip("OWE not supported")
dev[0].flush_scan_cache()
params = { "ssid": "owe-random",
"wpa": "2",
"wpa_key_mgmt": "OWE",