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:
Jouni Malinen 2020-01-23 16:54:45 +02:00 committed by Jouni Malinen
parent 1011c79900
commit ca10117cd7

View file

@ -1273,6 +1273,7 @@ def test_ap_hs20_connect_no_full_match(dev, apdev):
params['anqp_3gpp_cell_net'] = "555,444"
hostapd.add_ap(apdev[0], params)
dev[0].flush_scan_cache()
dev[0].hs20_enable()
vals = {'username': "user",