mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-07 04:34:04 -05:00
tests: Make ap_hs20_connect_no_full_match more robust
Explicitly clear cfg80211 scan cache to avoid issues with old BSS entries from previous test cases. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
1011c79900
commit
ca10117cd7
@ -1273,6 +1273,7 @@ def test_ap_hs20_connect_no_full_match(dev, apdev):
|
|||||||
params['anqp_3gpp_cell_net'] = "555,444"
|
params['anqp_3gpp_cell_net'] = "555,444"
|
||||||
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()
|
||||||
|
|
||||||
vals = {'username': "user",
|
vals = {'username': "user",
|
||||||
|
Loading…
Reference in New Issue
Block a user