From 0b38bf484f42664af59c7cd857745a32b81af9c1 Mon Sep 17 00:00:00 2001 From: ale Date: Sat, 7 Oct 2006 08:02:55 +0000 Subject: Try to fix on 4.X. --- security/openct/files/patch-src_ifd_ifd-wbeiuu.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 security/openct/files/patch-src_ifd_ifd-wbeiuu.c (limited to 'security/openct') diff --git a/security/openct/files/patch-src_ifd_ifd-wbeiuu.c b/security/openct/files/patch-src_ifd_ifd-wbeiuu.c new file mode 100644 index 0000000..cb9ec04 --- /dev/null +++ b/security/openct/files/patch-src_ifd_ifd-wbeiuu.c @@ -0,0 +1,18 @@ +--- src/ifd/ifd-wbeiuu.c.orig Sat Oct 7 09:55:18 2006 ++++ src/ifd/ifd-wbeiuu.c Sat Oct 7 09:57:25 2006 +@@ -454,6 +454,7 @@ + { + int status; + unsigned char buf[256]; ++ unsigned char len; + ifd_device_t *dev; + + ifd_debug(1, "%s:%d wbeiuu_card_reset()", __FILE__, __LINE__); +@@ -504,7 +505,6 @@ + return -1; + } + //unsigned char len[1] = { 0x00 }; +- unsigned char len; + ifd_debug(1, "%s:%d How many bytes waiting at the FIFO?", __FILE__, + __LINE__, status); + status = ifd_sysdep_usb_bulk(dev, 0x82, &len, 1, USB_TIMEOUT); -- cgit v1.1