diff --git a/libnfc/nfc-emulation.c b/libnfc/nfc-emulation.c index 026849a..1596e43 100644 --- a/libnfc/nfc-emulation.c +++ b/libnfc/nfc-emulation.c @@ -71,6 +71,6 @@ nfc_emulate_target(nfc_device *pnd, struct nfc_emulator *emulator, const int tim szRx = res; } } - return (io_res < 0) ? io_res : 0; + return io_res; }