From eddf22e1f2dd263077c15a776d1d1c13a329766f Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 23 Jun 2020 00:57:18 +0300 Subject: [PATCH] dpp-nfc: Update debug print for tag-read-only operation Be clearer about only a tag read being allowed when dpp-nfc is configured to not allow connection handover. Signed-off-by: Jouni Malinen --- wpa_supplicant/examples/dpp-nfc.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wpa_supplicant/examples/dpp-nfc.py b/wpa_supplicant/examples/dpp-nfc.py index 188354553..8ce8456d6 100755 --- a/wpa_supplicant/examples/dpp-nfc.py +++ b/wpa_supplicant/examples/dpp-nfc.py @@ -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: