From: Jouni Malinen Date: Mon, 22 Jun 2020 21:57:18 +0000 (+0300) Subject: dpp-nfc: Update debug print for tag-read-only operation X-Git-Tag: hostap_2_10~1101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eddf22e1f2dd263077c15a776d1d1c13a329766f;p=thirdparty%2Fhostap.git 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 --- 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: