aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-10-27 14:51:04 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-27 14:52:10 (GMT)
commit72a8e30b964d054ed54d2f8b092450f4b7418333 (patch)
tree736d19df1c968fafbc63a40a31fa7660679acdad /tests
parent3bfa5f10a9e2adc62755832f89aa2ba34e25e54c (diff)
downloadhostap-72a8e30b964d054ed54d2f8b092450f4b7418333.zip
hostap-72a8e30b964d054ed54d2f8b092450f4b7418333.tar.gz
hostap-72a8e30b964d054ed54d2f8b092450f4b7418333.tar.bz2
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 <jouni@qca.qualcomm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_ap_wps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py
index afe75e0..0dd2769 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):