fix: 'hf search' - 14a detection was wrong. thanks @doegox for point it out.

This commit is contained in:
iceman1001 2017-12-08 22:27:55 +01:00
parent 7af8168158
commit 732fe340cb
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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));