summaryrefslogtreecommitdiff
path: root/packages/librfid/files/013-zero-UID.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/librfid/files/013-zero-UID.patch')
-rw-r--r--packages/librfid/files/013-zero-UID.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/packages/librfid/files/013-zero-UID.patch b/packages/librfid/files/013-zero-UID.patch
deleted file mode 100644
index 30e09099c4..0000000000
--- a/packages/librfid/files/013-zero-UID.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Index: librfid-svn/src/rfid_asic_rc632.c
-===================================================================
---- librfid-svn.orig/src/rfid_asic_rc632.c 2008-02-27 16:47:21.000000000 -0500
-+++ librfid-svn/src/rfid_asic_rc632.c 2008-02-28 12:56:31.000000000 -0500
-@@ -529,7 +529,7 @@
- rc632_reg_read(handle, RC632_REG_CHANNEL_REDUNDANCY, &tmp);
-
- //return 0;
-- return -1;
-+ return -EIO;
- }
-
- return rc632_fifo_read(handle, *rx_len, rx_buf);
-@@ -1777,7 +1777,7 @@
- ret = rc632_transceive(handle, (u_int8_t *)acf, acf_len,
- (u_int8_t *) resp, rx_len,
- iso15693_timing[rate][ISO15693_T1], 0);
-- if (ret == -ETIMEDOUT)
-+ if (ret == -ETIMEDOUT || ret == -EIO)
- return ret;
-
- /* determine whether there was a collission */
-@@ -1795,6 +1795,8 @@
- *bit_of_col = boc;
- }else{
- *bit_of_col = 0;
-+ if (error_flag & RC632_ERR_FLAG_CRC_ERR)
-+ return -EIO;
- }
-
- return 0;