mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
Update cmdhficlass.c
Removed timeout as we'll definitely go above the timeout timer
This commit is contained in:
parent
ed8a2d330e
commit
1347dd9e74
1 changed files with 0 additions and 7 deletions
|
@ -3871,13 +3871,6 @@ static int CmdHFiClassRecover(uint8_t key[8]) {
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandNG(CMD_HF_ICLASS_RECOVER, (uint8_t *)payload, payload_size);
|
SendCommandNG(CMD_HF_ICLASS_RECOVER, (uint8_t *)payload, payload_size);
|
||||||
|
|
||||||
if (WaitForResponseTimeout(CMD_HF_ICLASS_RECOVER, &resp, 2500) == 0) {
|
|
||||||
PrintAndLogEx(WARNING, "command execute timeout");
|
|
||||||
DropField();
|
|
||||||
free(payload);
|
|
||||||
return PM3_ETIMEOUT;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (resp.status == PM3_SUCCESS) {
|
if (resp.status == PM3_SUCCESS) {
|
||||||
PrintAndLogEx(SUCCESS, "iCLASS Recover " _GREEN_("successful"));
|
PrintAndLogEx(SUCCESS, "iCLASS Recover " _GREEN_("successful"));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue