summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rfid_asic_rc632.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rfid_asic_rc632.c b/src/rfid_asic_rc632.c
index 803a09c..0d4a0c4 100644
--- a/src/rfid_asic_rc632.c
+++ b/src/rfid_asic_rc632.c
@@ -192,8 +192,7 @@ rc632_wait_idle(struct rfid_asic_handle *handle, u_int64_t timeout)
/* Abort after some timeout */
if (cycles > timeout*10/USLEEP_PER_CYCLE) {
- fprintf(stderr, "TIMEOUT!!\n");
- return -1;
+ return -ETIMEDOUT;
}
cycles++;
personal git repositories of Harald Welte. Your mileage may vary