mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
fix rare emv search behavior
This commit is contained in:
parent
7c6facce94
commit
84022807a8
1 changed files with 2 additions and 2 deletions
|
@ -538,8 +538,8 @@ int EMVSearch(EMVCommandChannel channel, bool ActivateField, bool LeaveFieldON,
|
||||||
if (++retrycnt < 3) {
|
if (++retrycnt < 3) {
|
||||||
i--;
|
i--;
|
||||||
} else {
|
} else {
|
||||||
// (1) - card select error, proxmark error OR (200) - result length = 0
|
// (1) - card select error, (4) reply timeout, (200) - result length = 0
|
||||||
if (res == 1 || res == 200) {
|
if (res == 1 || res == 4 ||res == 200) {
|
||||||
if (!LeaveFieldON)
|
if (!LeaveFieldON)
|
||||||
DropFieldEx(channel);
|
DropFieldEx(channel);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue