tests: Add update_identifier to one of the HS 2.0 test cases
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>
This commit is contained in:
parent
1965cc3aa8
commit
5f1e31cfc8
2 changed files with 3 additions and 2 deletions
|
@ -403,7 +403,8 @@ def test_ap_hs20_username(dev, apdev):
|
||||||
id = dev[0].add_cred_values({ 'realm': "example.com",
|
id = dev[0].add_cred_values({ 'realm': "example.com",
|
||||||
'username': "hs20-test",
|
'username': "hs20-test",
|
||||||
'password': "password",
|
'password': "password",
|
||||||
'domain': "example.com" })
|
'domain': "example.com",
|
||||||
|
'update_identifier': "1234" })
|
||||||
interworking_select(dev[0], bssid, "home", freq="2412")
|
interworking_select(dev[0], bssid, "home", freq="2412")
|
||||||
interworking_connect(dev[0], bssid, "TTLS")
|
interworking_connect(dev[0], bssid, "TTLS")
|
||||||
check_sp_type(dev[0], "home")
|
check_sp_type(dev[0], "home")
|
||||||
|
|
|
@ -217,7 +217,7 @@ class WpaSupplicant:
|
||||||
|
|
||||||
not_quoted = [ "eap", "roaming_consortium",
|
not_quoted = [ "eap", "roaming_consortium",
|
||||||
"required_roaming_consortium", "sp_priority",
|
"required_roaming_consortium", "sp_priority",
|
||||||
"max_bss_load" ]
|
"max_bss_load", "update_identifier" ]
|
||||||
for field in not_quoted:
|
for field in not_quoted:
|
||||||
if field in params:
|
if field in params:
|
||||||
self.set_cred(id, field, params[field])
|
self.set_cred(id, field, params[field])
|
||||||
|
|
Loading…
Reference in a new issue