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 <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-06-23 00:57:18 +03:00 committed by Jouni Malinen
parent 27ade59524
commit eddf22e1f2

View file

@ -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: