diff --git a/libnfc/drivers/pn53x_usb.c b/libnfc/drivers/pn53x_usb.c index 6300d96..448449b 100644 --- a/libnfc/drivers/pn53x_usb.c +++ b/libnfc/drivers/pn53x_usb.c @@ -404,8 +404,8 @@ pn53x_usb_receive (nfc_device_t * pnd, byte_t * pbtData, const size_t szDataLen) int abort_fd = 0; switch (CHIP_DATA (pnd)->ui8LastCommand) { - case InAutoPoll: case TgInitAsTarget: + case InJumpForDEP: case TgGetData: abort_fd = pnd->iAbortFds[1]; break; @@ -453,8 +453,6 @@ read: return false; } - pn53x_usb_ack (pnd); - const byte_t pn53x_preamble[3] = { 0x00, 0x00, 0xff }; if (0 != (memcmp (abtRxBuf, pn53x_preamble, 3))) { ERR ("%s", "Frame preamble+start code mismatch");