diff --git a/client/src/cmdlfcotag.c b/client/src/cmdlfcotag.c index 821e3f38e..b84e07b64 100644 --- a/client/src/cmdlfcotag.c +++ b/client/src/cmdlfcotag.c @@ -106,8 +106,8 @@ static int CmdCOTAGRead(const char *Cmd) { } case 1: { memcpy(DemodBuffer, resp.data.asBytes, resp.length); - DemodBufferLen = COTAG_BITS; - return CmdCOTAGDemod(""); + DemodBufferLen = resp.length; + return demodCOTAG(); } } return PM3_SUCCESS;