]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Specify EAP type in ap_hs20_set_profile_failures
authorJouni Malinen <jouni@codeaurora.org>
Fri, 14 Jun 2019 19:57:17 +0000 (22:57 +0300)
committerJouni Malinen <jouni@codeaurora.org>
Fri, 14 Jun 2019 20:10:51 +0000 (23:10 +0300)
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>
tests/hwsim/test_ap_hs20.py

index 319a5f6fcd211a16594b1fa92f795c19dab3db65..af4bd61cdeffb1f4ada63c98756b86039ca3fb20 100644 (file)
@@ -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)