]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Update DPP discovery override value format
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 22 Aug 2017 21:31:30 +0000 (00:31 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 22 Aug 2017 21:31:30 +0000 (00:31 +0300)
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>
tests/hwsim/test_dpp.py

index 0a0bdd919c650d64ce05452d7d8aaac15ba69760..3af8a6462714dc2dfd92802b9760a754dc5babad 100644 (file)
@@ -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)