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:
parent
3021b14c49
commit
6e904441c8
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue