tests: DPP_CONFIGURATOR_SIGN without double space
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
53d5de6f1d
commit
9552a7364f
1 changed files with 2 additions and 2 deletions
|
@ -3584,7 +3584,7 @@ def run_dpp_own_config(dev, apdev, own_curve=None, expect_failure=False,
|
||||||
update_hapd_config(hapd)
|
update_hapd_config(hapd)
|
||||||
|
|
||||||
dev[0].set("dpp_config_processing", "1")
|
dev[0].set("dpp_config_processing", "1")
|
||||||
cmd = "DPP_CONFIGURATOR_SIGN conf=sta-dpp configurator=%d%s" % (conf_id, extra)
|
cmd = "DPP_CONFIGURATOR_SIGN conf=sta-dpp configurator=%d%s" % (conf_id, extra)
|
||||||
if own_curve:
|
if own_curve:
|
||||||
cmd += " curve=" + own_curve
|
cmd += " curve=" + own_curve
|
||||||
res = dev[0].request(cmd)
|
res = dev[0].request(cmd)
|
||||||
|
@ -3641,7 +3641,7 @@ def run_dpp_own_config_ap(dev, apdev, reconf_configurator=False, extra=""):
|
||||||
if "FAIL" in csign or len(csign) == 0:
|
if "FAIL" in csign or len(csign) == 0:
|
||||||
raise Exception("DPP_CONFIGURATOR_GET_KEY failed")
|
raise Exception("DPP_CONFIGURATOR_GET_KEY failed")
|
||||||
|
|
||||||
cmd = "DPP_CONFIGURATOR_SIGN conf=ap-dpp configurator=%d%s" % (conf_id, extra)
|
cmd = "DPP_CONFIGURATOR_SIGN conf=ap-dpp configurator=%d%s" % (conf_id, extra)
|
||||||
res = hapd.request(cmd)
|
res = hapd.request(cmd)
|
||||||
if "FAIL" in res:
|
if "FAIL" in res:
|
||||||
raise Exception("Failed to generate own configuration")
|
raise Exception("Failed to generate own configuration")
|
||||||
|
|
Loading…
Reference in a new issue