From: Jouni Malinen Date: Sat, 6 Mar 2021 09:45:48 +0000 (+0200) Subject: tests: hapd->tmp_eap_user clearing on interface deinit/reinit X-Git-Tag: hostap_2_10~475 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b54410127d97066861482c65618414e4d441022e;p=thirdparty%2Fhostap.git tests: hapd->tmp_eap_user clearing on interface deinit/reinit Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index 6092b54c9..d3f140323 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -5350,6 +5350,15 @@ def test_ap_wpa2_eap_sql(dev, apdev, params): eap_connect(dev[1], hapd, "TTLS", "user-pap", anonymous_identity="ttls", password="password", ca_cert="auth_serv/ca.pem", phase2="auth=PAP") + dev[0].request("REMOVE_NETWORK all") + dev[1].request("REMOVE_NETWORK all") + dev[0].wait_disconnected() + dev[1].wait_disconnected() + hapd.disable() + hapd.enable() + eap_connect(dev[0], hapd, "TTLS", "user-mschapv2", + anonymous_identity="ttls", password="password", + ca_cert="auth_serv/ca.pem", phase2="auth=MSCHAPV2") finally: os.remove(dbfile)