From 6ae13628e0128877fd896e103f32be88b9eeb72d Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Thu, 4 Apr 2013 14:51:03 -0600 Subject: [PATCH] OS X: Don't try to work around buggy devices with bInterval = 0 on isochronous... --- libusb/os/darwin_usb.c | 7 +------ libusb/version_nano.h | 2 +- 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 + * Copyright © 2008-2013 Nathan Hjelm * * 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 -- 2.7.4