From a644fef0bb76ca4a48b8053c8834d1689d5247fd Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 27 Apr 2016 19:54:29 +0200 Subject: [PATCH 1/1] 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 --- client/cmdhf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.5