summaryrefslogtreecommitdiff
path: root/packages/librfid/files/mifare_ul_timeout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/librfid/files/mifare_ul_timeout.patch')
-rw-r--r--packages/librfid/files/mifare_ul_timeout.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/librfid/files/mifare_ul_timeout.patch b/packages/librfid/files/mifare_ul_timeout.patch
new file mode 100644
index 0000000000..846aa8d9db
--- /dev/null
+++ b/packages/librfid/files/mifare_ul_timeout.patch
@@ -0,0 +1,13 @@
+--- librfid.orig/src/rfid_proto_mifare_ul.c (revision 2085)
++++ librfid/src/rfid_proto_mifare_ul.c (working copy)
+@@ -34,8 +34,8 @@
+
+
+ /* FIXME */
+-#define MIFARE_UL_READ_FWT 100
+-#define MIFARE_UL_WRITE_FWT 100
++#define MIFARE_UL_READ_FWT 200
++#define MIFARE_UL_WRITE_FWT 800
+
+ static int
+ mful_read(struct rfid_protocol_handle *ph, unsigned int page,