summaryrefslogtreecommitdiff
path: root/libusb/version_nano.h
diff options
context:
space:
mode:
authorNathan Hjelm <hjelmn@google.com>2022-04-06 10:24:14 -0600
committerTormod Volden <debian.tormod@gmail.com>2023-01-06 23:33:29 +0100
commit65e4a70e0db5dc85cdbce01be276329580e0d986 (patch)
treeb984a50854ac0b2a14a9fe21f40af648a120d20a /libusb/version_nano.h
parent1c6e76a483238ba9f0511c77b02ea7607c30d897 (diff)
downloadlibusb-65e4a70e0db5dc85cdbce01be276329580e0d986.tar.gz
darwin: Do not clear device data toggle on macOS 10.5 or newer
Historically Mac OS X always cleared the data toggle on the host side. For consistency, libusb has been calling ClearPipeStallBothEnds to also clear the device side toggle. Newer versions of the IOUSBLib do not clear the host side toggle so there is no need to make this call. Additionally, some buggy devices may fail to correctly implement clearing the data toggle. Signed-off-by: Nathan Hjelm <hjelmn@google.com> [Tormod: Return result from AbortPipe] Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'libusb/version_nano.h')
-rw-r--r--libusb/version_nano.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index b997ad2..99985a0 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11755
+#define LIBUSB_NANO 11756