summaryrefslogtreecommitdiffstats
path: root/patches/libusb-add-zlp-flag.patch
diff options
context:
space:
mode:
authorGravatar Hector Martin2009-08-13 00:56:59 +0200
committerGravatar Hector Martin2009-08-13 01:29:55 +0200
commit882543b1e42a960b714fa3aa9b05f9029513b5c1 (patch)
tree48ed88ceb58b5b3072b17623b7fbe31fbae9fc7b /patches/libusb-add-zlp-flag.patch
parent339112a796f774600a55ab143cad0a6123496606 (diff)
downloadusbmuxd-882543b1e42a960b714fa3aa9b05f9029513b5c1.tar.gz
usbmuxd-882543b1e42a960b714fa3aa9b05f9029513b5c1.tar.bz2
Remove obsolete patches, update code and comments for libusb git.
Please use libusb git as of the time of this writing, or 1.0.3 whenever it comes out.
Diffstat (limited to 'patches/libusb-add-zlp-flag.patch')
-rw-r--r--patches/libusb-add-zlp-flag.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/patches/libusb-add-zlp-flag.patch b/patches/libusb-add-zlp-flag.patch
deleted file mode 100644
index add9f97..0000000
--- a/patches/libusb-add-zlp-flag.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ur libusb-1.0.0/libusb/os/linux_usbfs.c libusb-1.0.0-mod/libusb/os/linux_usbfs.c
---- libusb-1.0.0/libusb/os/linux_usbfs.c 2008-12-13 20:43:20.000000000 +0100
-+++ libusb-1.0.0-mod/libusb/os/linux_usbfs.c 2009-04-30 04:25:12.000000000 +0200
-@@ -1295,7 +1295,8 @@
- urb->buffer_length = transfer->length % MAX_BULK_BUFFER_LENGTH;
- else
- urb->buffer_length = MAX_BULK_BUFFER_LENGTH;
--
-+ if ((!(transfer->endpoint & LIBUSB_ENDPOINT_DIR_MASK)) && (i == num_urbs - 1))
-+ urb->flags = USBFS_URB_ZLP;
- r = ioctl(dpriv->fd, IOCTL_USBFS_SUBMITURB, urb);
- if (r < 0) {
- int j;
-diff -ur libusb-1.0.0/libusb/os/linux_usbfs.h libusb-1.0.0-mod/libusb/os/linux_usbfs.h
---- libusb-1.0.0/libusb/os/linux_usbfs.h 2008-07-16 16:17:57.000000000 +0200
-+++ libusb-1.0.0-mod/libusb/os/linux_usbfs.h 2009-04-30 04:08:27.000000000 +0200
-@@ -63,6 +63,7 @@
- #define USBFS_URB_DISABLE_SPD 1
- #define USBFS_URB_ISO_ASAP 2
- #define USBFS_URB_QUEUE_BULK 0x10
-+#define USBFS_URB_ZLP 0x40
-
- enum usbfs_urb_type {
- USBFS_URB_TYPE_ISO = 0,