From: iceman1001 Date: Fri, 19 Feb 2016 23:29:35 +0000 (+0100) Subject: FIX: an extra break inside "Hf mf cgetsc" made it not read the fourth block in the... X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/c7962313cc6bd3afe4e42dbe5229c6ef50722fa6 FIX: an extra break inside "Hf mf cgetsc" made it not read the fourth block in the sector. --- diff --git a/armsrc/mifarecmd.c b/armsrc/mifarecmd.c index c097cfd5..c68a50e5 100644 --- a/armsrc/mifarecmd.c +++ b/armsrc/mifarecmd.c @@ -1322,10 +1322,9 @@ void MifareCGetBlock(uint32_t arg0, uint32_t arg1, uint8_t *datain){ memcpy(data, receivedAnswer, sizeof(data)); // send HALT - if (workFlags & MAGIC_HALT) { + if (workFlags & MAGIC_HALT) mifare_classic_halt_ex(NULL); - break; - } + isOK = true; break; }