]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
dpp-nfc: Add peer URI into the HS in testing mode
authorJouni Malinen <jouni@codeaurora.org>
Thu, 30 Jul 2020 17:35:10 +0000 (20:35 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 30 Jul 2020 17:43:26 +0000 (20:43 +0300)
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>
wpa_supplicant/examples/dpp-nfc.py

index ef6370598fd3481140296e617422026efe0967b8..e793643e811195a8f6256f5a09ecdfafb9047f8d 100755 (executable)
@@ -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: