diff options
author | Elliott Hughes <enh@google.com> | 2015-08-13 15:01:18 -0700 |
---|---|---|
committer | Siva Velusamy <vsiva@google.com> | 2015-08-13 16:00:12 -0700 |
commit | 2d4f852da4881b543c11f82de4af44db88bdf306 (patch) | |
tree | 3b7fbd68be7bc2c669cb38eb735db12b7f3a8a0e /fastboot/usb_osx.cpp | |
parent | 4d40c03b0bb86050759cdb010dce04492f54ae3e (diff) | |
download | system_core-2d4f852da4881b543c11f82de4af44db88bdf306.tar.gz system_core-2d4f852da4881b543c11f82de4af44db88bdf306.tar.bz2 system_core-2d4f852da4881b543c11f82de4af44db88bdf306.zip |
Start iterating USB pipe endpoints from 1.
Bug: http://b/22829602
Change-Id: I5051880730ba8fadae5d78f1d19b5d527610d4a5
Diffstat (limited to 'fastboot/usb_osx.cpp')
-rw-r--r-- | fastboot/usb_osx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/usb_osx.cpp b/fastboot/usb_osx.cpp index abd6eb950..7ae2aa5f5 100644 --- a/fastboot/usb_osx.cpp +++ b/fastboot/usb_osx.cpp @@ -181,7 +181,7 @@ static int try_interfaces(IOUSBDeviceInterface182 **dev, usb_handle *handle) { // Iterate over the endpoints for this interface and see if there // are any that do bulk in/out. - for (UInt8 endpoint = 0; endpoint <= interfaceNumEndpoints; endpoint++) { + for (UInt8 endpoint = 1; endpoint <= interfaceNumEndpoints; endpoint++) { UInt8 transferType; UInt16 maxPacketSize; UInt8 interval; |