aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-08-22 21:31:30 (GMT)
committerJouni Malinen <j@w1.fi>2017-08-22 21:31:30 (GMT)
commit96fa53f911bc782aa9d70567191f7bd50b0ff2e2 (patch)
treee88e3faa94dd0260cc513be84f9e791248e9a37a /tests
parent17385fba2a8a66b40af0d9e277b6308d5e6b50ac (diff)
downloadhostap-96fa53f911bc782aa9d70567191f7bd50b0ff2e2.zip
hostap-96fa53f911bc782aa9d70567191f7bd50b0ff2e2.tar.gz
hostap-96fa53f911bc782aa9d70567191f7bd50b0ff2e2.tar.bz2
tests: Update DPP discovery override value format
This changed in the DPP tech spec, so update the test case to match the current encoding. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_dpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py
index 0a0bdd9..3af8a64 100644
--- a/tests/hwsim/test_dpp.py
+++ b/tests/hwsim/test_dpp.py
@@ -618,7 +618,7 @@ def test_dpp_config_dpp_override_secp521r1(dev, apdev):
def test_dpp_config_override_objects(dev, apdev):
"""Generate DPP Config Object and override objects)"""
check_dpp_capab(dev[1])
- discovery = '{\n"ssid":"mywifi",\n"op_cl":81,\n"ch_list":\n[\n{"ch":1},\n{"ch":6},\n{"ch":11}\n]\n}'
+ discovery = '{\n"ssid":"mywifi",\n"op_cl":81,\n"ch_list":\n[1,6]\n}'
groups = '[\n {"groupId":"home","netRole":"sta"},\n {"groupId":"cottage","netRole":"sta"}\n]'
dev[1].set("dpp_discovery_override", discovery)
dev[1].set("dpp_groups_override", groups)