mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
tests: Make ap_hs20_roaming_consortium more robust
Explicitly clear cfg80211 scan cache to avoid issues with old BSS entries from previous test cases. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
ece9aa627a
commit
d0cd750435
@ -998,6 +998,7 @@ def test_ap_hs20_roaming_consortium(dev, apdev):
|
||||
params['hessid'] = bssid
|
||||
hostapd.add_ap(apdev[0], params)
|
||||
|
||||
dev[0].flush_scan_cache()
|
||||
dev[0].hs20_enable()
|
||||
for consortium in ["112233", "1020304050", "010203040506", "fedcba"]:
|
||||
id = dev[0].add_cred_values({'username': "user",
|
||||
|
Loading…
x
Reference in New Issue
Block a user