From: Jouni Malinen Date: Fri, 10 Jan 2020 20:55:44 +0000 (+0200) Subject: tests: Flush scan results in more Hotspot 2.0 test cases X-Git-Tag: hostap_2_10~1945 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=961eb0872322e302a5251deacd0c65a54b794e76;p=thirdparty%2Fhostap.git tests: Flush scan results in more Hotspot 2.0 test cases This makes testing of INTERWORKING_CONNECT more robust. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index a733f84f8..ff84bb432 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -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",