]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
MFU adjustment to allow 0 len returns from raw cmds
authormarshmellow42 <marshmellowrf@gmail.com>
Wed, 6 May 2015 14:16:31 +0000 (10:16 -0400)
committermarshmellow42 <marshmellowrf@gmail.com>
Wed, 6 May 2015 14:16:31 +0000 (10:16 -0400)
client/cmdhfmfu.c

index 607cad96d8be116795e1caca7468e405328bec59..a94d8767dbccc3cb5278a657124adeb97aaeac22 100644 (file)
@@ -107,7 +107,6 @@ static int ul_send_cmd_raw( uint8_t *cmd, uint8_t cmdlen, uint8_t *response, uin
        SendCommand(&c);
        UsbCommand resp;
        if (!WaitForResponseTimeout(CMD_ACK, &resp, 1500)) return -1;
-       if (resp.arg[0] < 1) return     -1;
 
        uint16_t resplen = (resp.arg[0] < responseLength) ? resp.arg[0] : responseLength;
        memcpy(response, resp.d.asBytes, resplen);
Impressum, Datenschutz