From 5f1534dbf3a42e6e2fb2ed7dc6c073ccfb4908bf Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Fri, 26 Jan 2007 14:37:59 +0000 Subject: [PATCH] Obviously submitting the requested generic index is necessary for this function to work... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19970 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/libs/usb/USBInterface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/usb/USBInterface.cpp b/src/libs/usb/USBInterface.cpp index 821c160785..decdc858cc 100644 --- a/src/libs/usb/USBInterface.cpp +++ b/src/libs/usb/USBInterface.cpp @@ -123,6 +123,7 @@ BUSBInterface::OtherDescriptorAt(uint32 index, usb_descriptor *descriptor, command.generic.config_index = fConfiguration->Index(); command.generic.interface_index = fIndex; command.generic.length = length; + command.generic.generic_index = index; if (ioctl(fRawFD, RAW_COMMAND_GET_GENERIC_DESCRIPTOR, &command, sizeof(command)) || command.generic.status != RAW_STATUS_SUCCESS) { return B_ERROR;