From 72a8e30b964d054ed54d2f8b092450f4b7418333 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 27 Oct 2014 16:51:04 +0200 Subject: [PATCH] tests: Allow GCMP to be added into ap_wps_mixed_cred network profile 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 --- tests/hwsim/test_ap_wps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py index afe75e08a..0dd2769ee 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/tests/hwsim/test_ap_wps.py @@ -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):