From 4fc5c00c784c2d564f9c01fb4f2a5998811b68e7 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 14 Jun 2019 22:57:17 +0300 Subject: [PATCH] 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 --- tests/hwsim/test_ap_hs20.py | 1 + 1 file changed, 1 insertion(+) 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)