mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -07:00
fix nested loop with cards that do not NACK
This commit is contained in:
parent
9b6d1f74da
commit
2f00f5a9b9
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ int mfnested(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBlockNo,
|
|||
SendCommand(&c);
|
||||
|
||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2500)) {
|
||||
// cards that do not NACK bad keys cause it to get stuck in a loop, so break it out
|
||||
// cards that do not NACK bad keys cause it to get stuck in a loop, so break out of it
|
||||
UsbCommand c = {CMD_PING};
|
||||
SendCommand(&c);
|
||||
(void)WaitForResponseTimeout(CMD_ACK,NULL,500);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue