dpp-nfc: Add peer URI into the HS in testing mode

This makes it easier to confirm that the correct pair of the HR and the
HS were used.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-07-30 20:35:10 +03:00 committed by Jouni Malinen
parent 3021b14c49
commit 6e904441c8
1 changed files with 1 additions and 0 deletions

View File

@ -512,6 +512,7 @@ class HandoverServer(nfc.handover.HandoverServer):
if test_uri:
summary("TEST MODE: Fake processing")
res = "OK"
data += " [%s]" % uri
else:
res = wpas_report_handover_req(uri)
if res is None or "FAIL" in res: