]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: an extra break inside "Hf mf cgetsc" made it not read the fourth block in the...
authoriceman1001 <iceman@iuse.se>
Fri, 19 Feb 2016 23:29:35 +0000 (00:29 +0100)
committericeman1001 <iceman@iuse.se>
Fri, 19 Feb 2016 23:29:35 +0000 (00:29 +0100)
armsrc/mifarecmd.c

index c097cfd5f4a816f4ceef7c121f84d4de875bd71b..c68a50e567b2a9e8fd3f44e8dbba2a57a4241dd7 100644 (file)
@@ -1322,10 +1322,9 @@ void MifareCGetBlock(uint32_t arg0, uint32_t arg1, uint8_t *datain){
                memcpy(data, receivedAnswer, sizeof(data));\r
                \r
                // send HALT\r
-               if (workFlags & MAGIC_HALT) {\r
+               if (workFlags & MAGIC_HALT)\r
                        mifare_classic_halt_ex(NULL);\r
-                       break;\r
-               }\r
+\r
                isOK = true;\r
                break;\r
        }\r
Impressum, Datenschutz