]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Allow GCMP to be added into ap_wps_mixed_cred network profile
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 27 Oct 2014 14:51:04 +0000 (16:51 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 27 Oct 2014 14:52:10 +0000 (16:52 +0200)
This is needed in preparation for WPS AES being mapped to enabling both
CCMP and GCMP if the driver supports both ciphers.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_ap_wps.py

index afe75e08a227541d56a57ab5073e09b7a42bb1e9..0dd2769eef696c984fddbc0ce2906a958df38cad 100644 (file)
@@ -2128,7 +2128,7 @@ def test_ap_wps_mixed_cred(dev, apdev):
     if proto != "WPA RSN":
         raise Exception("Unexpected merged proto field value: " + proto)
     pairwise = dev[0].get_network(id, "pairwise")
-    if pairwise != "CCMP TKIP":
+    if pairwise != "CCMP TKIP" and pairwise != "CCMP GCMP TKIP":
         raise Exception("Unexpected merged pairwise field value: " + pairwise)
 
 def test_ap_wps_while_connected(dev, apdev):