mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Make ap_hs20_nai_realms more robust
Explicitly clear cfg80211 scan cache to avoid issues from scan results from previous test cases interfering with INTERWORKING_CONNECT operation. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
68f9f480ef
commit
e5d9f99b3f
@ -980,6 +980,7 @@ def test_ap_hs20_nai_realms(dev, apdev):
|
|||||||
params['nai_realm'] = ["0,no.match.here;example.com;no.match.here.either,21[2:1][5:7]"]
|
params['nai_realm'] = ["0,no.match.here;example.com;no.match.here.either,21[2:1][5:7]"]
|
||||||
hostapd.add_ap(apdev[0], params)
|
hostapd.add_ap(apdev[0], params)
|
||||||
|
|
||||||
|
dev[0].flush_scan_cache()
|
||||||
dev[0].hs20_enable()
|
dev[0].hs20_enable()
|
||||||
id = dev[0].add_cred_values({'realm': "example.com",
|
id = dev[0].add_cred_values({'realm': "example.com",
|
||||||
'ca_cert': "auth_serv/ca.pem",
|
'ca_cert': "auth_serv/ca.pem",
|
||||||
|
Loading…
Reference in New Issue
Block a user