tests: Add missing scan cache flush
Otherwise a BSS from a previous test may still be in the cache. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
This commit is contained in:
parent
dbcf9ff156
commit
b532201034
1 changed files with 1 additions and 0 deletions
|
@ -502,6 +502,7 @@ def test_ap_hs20_select(dev, apdev):
|
||||||
params = hs20_ap_params()
|
params = hs20_ap_params()
|
||||||
params['hessid'] = bssid
|
params['hessid'] = bssid
|
||||||
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", 'username': "test",
|
id = dev[0].add_cred_values({'realm': "example.com", 'username': "test",
|
||||||
|
|
Loading…
Reference in a new issue