Fix MFC static nonce detection on some cards and do it before prng det

This commit is contained in:
Philippe Teuwen 2020-09-11 14:09:38 +02:00
commit e488ef306c
2 changed files with 15 additions and 12 deletions

View file

@ -2383,6 +2383,9 @@ void MifareHasStaticNonce(void) {
nt = bytes_to_num(rec, 4);
// some cards with static nonce need to be reset before next query
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
LEDsoff();
CHK_TIMEOUT();
}