]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Add update_identifier to one of the HS 2.0 test cases
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 20 Dec 2013 04:46:07 +0000 (20:46 -0800)
committerJouni Malinen <j@w1.fi>
Tue, 25 Feb 2014 23:24:25 +0000 (01:24 +0200)
This allows debug logs to be used to verify byte order in the
PPS MO ID fields.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

tests/hwsim/test_ap_hs20.py
tests/hwsim/wpasupplicant.py

index 49b9c65d0a08c91ca6d065faaf5fab8dd159a413..102865e4a10c94c3607ece695eab597bbcf77201 100644 (file)
@@ -403,7 +403,8 @@ def test_ap_hs20_username(dev, apdev):
     id = dev[0].add_cred_values({ 'realm': "example.com",
                                   'username': "hs20-test",
                                   'password': "password",
-                                  'domain': "example.com" })
+                                  'domain': "example.com",
+                                  'update_identifier': "1234" })
     interworking_select(dev[0], bssid, "home", freq="2412")
     interworking_connect(dev[0], bssid, "TTLS")
     check_sp_type(dev[0], "home")
index 46f233e0a0aff572901b824821ca02b8e3e8b401..9dfa037f800db9f0389be079a79a0e030b939282 100644 (file)
@@ -217,7 +217,7 @@ class WpaSupplicant:
 
         not_quoted = [ "eap", "roaming_consortium",
                        "required_roaming_consortium", "sp_priority",
-                       "max_bss_load" ]
+                       "max_bss_load", "update_identifier" ]
         for field in not_quoted:
             if field in params:
                 self.set_cred(id, field, params[field])