diff --git a/client/cmdhf.c b/client/cmdhf.c index 906c3f5b2..710d2e917 100644 --- a/client/cmdhf.c +++ b/client/cmdhf.c @@ -1007,7 +1007,7 @@ int CmdHFSearch(const char *Cmd){ if (cmdp == 'h' || cmdp == 'H') return usage_hf_search(); PrintAndLog(""); - int ans = CmdHF14AReader("s"); + int ans = CmdHF14AInfo("s"); if (ans > 0) { PrintAndLog("\nValid ISO14443-A Tag Found - Quiting Search\n"); return ans; diff --git a/client/cmdhf14a.c b/client/cmdhf14a.c index 27e4d3879..50d1c551a 100644 --- a/client/cmdhf14a.c +++ b/client/cmdhf14a.c @@ -308,7 +308,7 @@ int CmdHF14AInfo(const char *Cmd) { PrintAndLog("Card doesn't support standard iso14443-3 anticollision"); PrintAndLog("ATQA : %02x %02x", card.atqa[1], card.atqa[0]); DropField(); - return 0; + return select_status; } PrintAndLog(" UID : %s", sprint_hex(card.uid, card.uidlen));