Update cmdhficlass.c

This commit is contained in:
Antiklesys 2024-07-20 01:35:03 +08:00
parent 1347dd9e74
commit ef2c372380

View file

@ -3871,6 +3871,8 @@ 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);
WaitForResponse(CMD_HF_ICLASS_RECOVER, &resp);
if (resp.status == PM3_SUCCESS) { if (resp.status == PM3_SUCCESS) {
PrintAndLogEx(SUCCESS, "iCLASS Recover " _GREEN_("successful")); PrintAndLogEx(SUCCESS, "iCLASS Recover " _GREEN_("successful"));
} else { } else {