tests: Allow more ciphers in ap_wps_mixed_cred
This is needed to avoid false errors with GCMP-256 and CCMP-256 to be added in the implementation. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
5f481b6fdb
commit
70dcb4aa0e
1 changed files with 2 additions and 1 deletions
|
@ -3493,7 +3493,8 @@ def test_ap_wps_mixed_cred(dev, apdev):
|
||||||
if proto != "WPA RSN":
|
if proto != "WPA RSN":
|
||||||
raise Exception("Unexpected merged proto field value: " + proto)
|
raise Exception("Unexpected merged proto field value: " + proto)
|
||||||
pairwise = dev[0].get_network(id, "pairwise")
|
pairwise = dev[0].get_network(id, "pairwise")
|
||||||
if pairwise != "CCMP TKIP" and pairwise != "CCMP GCMP TKIP":
|
p = pairwise.split()
|
||||||
|
if "CCMP" not in p or "TKIP" not in p:
|
||||||
raise Exception("Unexpected merged pairwise field value: " + pairwise)
|
raise Exception("Unexpected merged pairwise field value: " + pairwise)
|
||||||
|
|
||||||
@remote_compatible
|
@remote_compatible
|
||||||
|
|
Loading…
Reference in a new issue