diff --git a/client/cmdhflist.c b/client/cmdhflist.c index 3c1fb83bd..504456a11 100644 --- a/client/cmdhflist.c +++ b/client/cmdhflist.c @@ -44,7 +44,7 @@ void ClearAuthData() { uint8_t iso14443A_CRC_check(bool isResponse, uint8_t *d, uint8_t n) { if (n < 3) return 2; - if (isResponse & (n < 6)) return 2; + if (isResponse && (n < 6)) return 2; return check_crc(CRC_14443_A, d, n); }