summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Hjelm <hjelmn@cs.unm.edu>2013-04-04 14:51:03 -0600
committerPete Batard <pete@akeo.ie>2013-04-04 19:01:02 +0100
commit6ae13628e0128877fd896e103f32be88b9eeb72d (patch)
tree79f0052517608f27c9ea911f1b37e84bc580afbb
parentfed4f7e47f49523c6a9469a2b25c7d995b1ebcd6 (diff)
downloadlibusb-6ae13628e0128877fd896e103f32be88b9eeb72d.tar.gz
OS X: Don't try to work around buggy devices with bInterval = 0 on isochronous...
-rw-r--r--libusb/os/darwin_usb.c7
-rw-r--r--libusb/version_nano.h2
2 files changed, 2 insertions, 7 deletions
diff --git a/libusb/os/darwin_usb.c b/libusb/os/darwin_usb.c
index e90c1cc..34d0427 100644
--- a/libusb/os/darwin_usb.c
+++ b/libusb/os/darwin_usb.c
@@ -1,7 +1,7 @@
/* -*- Mode: C; indent-tabs-mode:nil -*- */
/*
* darwin backend for libusbx 1.0
- * Copyright © 2008-2012 Nathan Hjelm <hjelmn@users.sourceforge.net>
+ * Copyright © 2008-2013 Nathan Hjelm <hjelmn@users.sourceforge.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -1433,11 +1433,6 @@ static int submit_iso_transfer(struct usbi_transfer *itransfer) {
(*(cInterface->interface))->GetPipeProperties (cInterface->interface, pipeRef, &direction, &number,
&transferType, &maxPacketSize, &interval);
- /* work around buggy devices */
- if (0 == interval) {
- interval = 9;
- }
-
/* schedule for a frame a little in the future */
frame += 4;
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index b2dd2b4..046cdc0 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 10639
+#define LIBUSB_NANO 10640