mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
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:
parent
6338c99efa
commit
8e5931f0c7
@ -141,6 +141,7 @@ def test_owe_transition_mode_connect_cmd(dev, apdev):
|
|||||||
def run_owe_transition_mode(dev, apdev):
|
def run_owe_transition_mode(dev, apdev):
|
||||||
if "OWE" not in dev[0].get_capability("key_mgmt"):
|
if "OWE" not in dev[0].get_capability("key_mgmt"):
|
||||||
raise HwsimSkip("OWE not supported")
|
raise HwsimSkip("OWE not supported")
|
||||||
|
dev[0].flush_scan_cache()
|
||||||
params = { "ssid": "owe-random",
|
params = { "ssid": "owe-random",
|
||||||
"wpa": "2",
|
"wpa": "2",
|
||||||
"wpa_key_mgmt": "OWE",
|
"wpa_key_mgmt": "OWE",
|
||||||
|
Loading…
Reference in New Issue
Block a user