]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
dpp-nfc: Update debug print for tag-read-only operation
authorJouni Malinen <jouni@codeaurora.org>
Mon, 22 Jun 2020 21:57:18 +0000 (00:57 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 22 Jun 2020 21:57:18 +0000 (00:57 +0300)
Be clearer about only a tag read being allowed when dpp-nfc is
configured to not allow connection handover.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/examples/dpp-nfc.py

index 1883545533394ce28abca8bdad04ca51a915cdb4..8ce8456d693234418d4e494ff2812c6d49135413 100755 (executable)
@@ -810,7 +810,10 @@ def main():
             clear_raw_mode()
             if was_in_raw_mode:
                 print("\r")
-            summary("Waiting for a tag or peer to be touched")
+            if args.tag_read_only:
+                summary("Waiting for a tag to be touched")
+            else:
+                summary("Waiting for a tag or peer to be touched")
             wait_connection = True
             try:
                 if args.tag_read_only: