]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/mifare/mifarehost.c
fix WaitForResponse (without timeout)
[proxmark3-svn] / client / mifare / mifarehost.c
index 7b7107105aa92b9ff000b1221b6cabc4d578ba1a..bc53e1fe8731f88ba6363f564c53af1d12f57574 100644 (file)
@@ -1164,7 +1164,7 @@ int DetectClassicPrng(void){
 
        clearCommandBuffer();
        SendCommand(&c);
-       if (!WaitForResponseTimeout(CMD_ACK, &resp, 2000)) {
+       if (!WaitForResponseTimeout(CMD_NACK, &resp, 2000)) {
         PrintAndLog("PRNG UID: Reply timeout.");
                return -1;
        }
Impressum, Datenschutz