fix 'hf 14a read' needs a disconnect if failed.

fix 'hf mf csave'  now prints which card size it is trying to dump
This commit is contained in:
iceman1001 2017-08-29 14:47:17 +02:00
commit 9f54a5e4b9
2 changed files with 3 additions and 1 deletions

View file

@ -173,7 +173,8 @@ int CmdHF14AReader(const char *Cmd) {
SendCommand(&c);
UsbCommand resp;
if (WaitForResponseTimeout(CMD_ACK, &resp, 1500)) {
if (Cmd[0] != 's') PrintAndLog("iso14443a card select failed");
if (Cmd[0] != 's') PrintAndLog("iso14443a card select failed");
SendCommand(&cDisconnect);
return 0;
}