From: Jouni Malinen Date: Fri, 14 Jun 2019 19:57:17 +0000 (+0300) Subject: tests: Specify EAP type in ap_hs20_set_profile_failures X-Git-Tag: hostap_2_9~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fc5c00c784c2d564f9c01fb4f2a5998811b68e7;p=thirdparty%2Fhostap.git tests: Specify EAP type in ap_hs20_set_profile_failures Matching with roaming_consortium requires EAP type to be specified to work for the connection. This test case was not really testing the connection part, so this has not been much of an issue in the past, but in preparation for the matching rules to start filtering out invalid credential configurations from selection, the EAP type needs to be explicitly set here. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 319a5f6fc..af4bd61cd 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -5897,6 +5897,7 @@ def test_ap_hs20_set_profile_failures(dev, apdev): dev[0].remove_cred(id) id = dev[0].add_cred_values({'roaming_consortium': "112233", + 'eap': 'TTLS', 'username': "user@example.com", 'password': "password"}) interworking_select(dev[0], bssid, freq=2412)