diff --git a/client/mifare/mad.c b/client/mifare/mad.c index 5cf3e1852..fe41ac032 100644 --- a/client/mifare/mad.c +++ b/client/mifare/mad.c @@ -181,7 +181,7 @@ int MADCheck(uint8_t *sector0, uint8_t *sector10, bool verbose, bool *haveMAD2) if (!res) res = res2; - if (verbose & !res2) + if (verbose && !res2) PrintAndLogEx(NORMAL, "CRC8-MAD2 OK."); }