OS X: Don't try to work around buggy devices with bInterval = 0 on isochronous...
authorNathan Hjelm <hjelmn@cs.unm.edu>
Thu, 4 Apr 2013 20:51:03 +0000 (14:51 -0600)
committerPete Batard <pete@akeo.ie>
Thu, 4 Apr 2013 18:01:02 +0000 (19:01 +0100)
libusb/os/darwin_usb.c
libusb/version_nano.h

index e90c1cc..34d0427 100644 (file)
@@ -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;
 
index b2dd2b4..046cdc0 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10639
+#define LIBUSB_NANO 10640