From 295c70911a8f49725b78d6ef1018dda6d1836ca7 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 16 Feb 2017 22:31:10 +0100 Subject: [PATCH] Restrict MFC Mini detection according to AN10833 --- utils/nfc-mfclassic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/nfc-mfclassic.c b/utils/nfc-mfclassic.c index 56d5717..9a8f8b6 100644 --- a/utils/nfc-mfclassic.c +++ b/utils/nfc-mfclassic.c @@ -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