X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b8ed9975e55c91abfd274e17d3414a31d53fab08..929b61c6701f8266c855a669d4c7827cbe0d8eb8:/client/mifare/mifarehost.c diff --git a/client/mifare/mifarehost.c b/client/mifare/mifarehost.c index 7b710710..bc53e1fe 100644 --- a/client/mifare/mifarehost.c +++ b/client/mifare/mifarehost.c @@ -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; }