aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-06-14 19:57:17 (GMT)
committerJouni Malinen <jouni@codeaurora.org>2019-06-14 20:10:51 (GMT)
commit4fc5c00c784c2d564f9c01fb4f2a5998811b68e7 (patch)
tree1eeab06200938539e096adef69f7d337cc6d0968
parent20eba39b51b2c8373102fcfcaec91caf92592b14 (diff)
downloadhostap-4fc5c00c784c2d564f9c01fb4f2a5998811b68e7.zip
hostap-4fc5c00c784c2d564f9c01fb4f2a5998811b68e7.tar.gz
hostap-4fc5c00c784c2d564f9c01fb4f2a5998811b68e7.tar.bz2
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 <jouni@codeaurora.org>
-rw-r--r--tests/hwsim/test_ap_hs20.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py
index 319a5f6..af4bd61 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)