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
This commit is contained in:
parent
e40b5c0d59
commit
5f1534dbf3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user