From: iceman1001 Date: Wed, 27 Apr 2016 17:54:29 +0000 (+0200) Subject: FIX: Mental note to self, bitnumber 4 is used, not the value 4 which would be bitnum... X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/a644fef0bb76ca4a48b8053c8834d1689d5247fd?hp=0923c43cc675b08a295dd531ae0f7c4ed87a1d1d FIX: Mental note to self, bitnumber 4 is used, not the value 4 which would be bitnumber 3... when deciding if request is REQB or WUPB --- diff --git a/client/cmdhf.c b/client/cmdhf.c index 8f4c68d5..8724adad 100644 --- a/client/cmdhf.c +++ b/client/cmdhf.c @@ -277,7 +277,7 @@ void annotateIso14443b(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize) default: snprintf(exp, size,"16 slots ");break; } - if ( (cmd[2] & 0x4) ) + if ( (cmd[2] & 0x8) ) snprintf(exp, size,"REQB"); else snprintf(exp, size,"WUPB");