Update cmdhficlass.c

Removed timeout as we'll definitely go above the timeout timer
This commit is contained in:
Antiklesys 2024-07-20 01:26:52 +08:00
commit 1347dd9e74

View file

@ -3871,13 +3871,6 @@ static int CmdHFiClassRecover(uint8_t key[8]) {
clearCommandBuffer();
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) {
PrintAndLogEx(SUCCESS, "iCLASS Recover " _GREEN_("successful"));
} else {