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>
This commit is contained in:
Jouni Malinen 2019-06-14 22:57:17 +03:00
parent 20eba39b51
commit 4fc5c00c78

View file

@ -5897,6 +5897,7 @@ def test_ap_hs20_set_profile_failures(dev, apdev):
dev[0].remove_cred(id) dev[0].remove_cred(id)
id = dev[0].add_cred_values({'roaming_consortium': "112233", id = dev[0].add_cred_values({'roaming_consortium': "112233",
'eap': 'TTLS',
'username': "user@example.com", 'username': "user@example.com",
'password': "password"}) 'password': "password"})
interworking_select(dev[0], bssid, freq=2412) interworking_select(dev[0], bssid, freq=2412)