tests: Flush scan results in more Hotspot 2.0 test cases

This makes testing of INTERWORKING_CONNECT more robust.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-01-10 22:55:44 +02:00 committed by Jouni Malinen
parent 447ce4813a
commit 961eb08723
1 changed files with 1 additions and 0 deletions

View File

@ -798,6 +798,7 @@ def eap_test(dev, ap, eap_params, method, user, release=0):
params['hs20_release'] = str(release)
hapd = hostapd.add_ap(ap, params)
dev.flush_scan_cache()
dev.hs20_enable()
dev.add_cred_values({'realm': "example.com",
'ca_cert': "auth_serv/ca.pem",