Skip to content

Commit

Permalink
Restrict MFC Mini detection according to AN10833
Browse files Browse the repository at this point in the history
  • Loading branch information
doegox committed Feb 16, 2017
1 parent f16aeda commit 295c709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/nfc-mfclassic.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ main(int argc, const char *argv[])
if ((nt.nti.nai.abtAtqa[1] & 0x02) == 0x02)
// 4K
uiBlocks = 0xff;
else if ((nt.nti.nai.btSak & 0x01) == 0x01)
else if (nt.nti.nai.btSak == 0x09)
// 320b
uiBlocks = 0x13;
else
Expand Down

0 comments on commit 295c709

Please sign in to comment.