Complete my previous fix :$
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29281 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -127,7 +127,7 @@ status_t
|
|||||||
BUSBInterface::OtherDescriptorAt(uint32 index, usb_descriptor *descriptor,
|
BUSBInterface::OtherDescriptorAt(uint32 index, usb_descriptor *descriptor,
|
||||||
size_t length) const
|
size_t length) const
|
||||||
{
|
{
|
||||||
if (length <= 0 && descriptor == NULL)
|
if (length <= 0 || descriptor == NULL)
|
||||||
return B_BAD_VALUE;
|
return B_BAD_VALUE;
|
||||||
|
|
||||||
usb_raw_command command;
|
usb_raw_command command;
|
||||||
|
|||||||
Reference in New Issue
Block a user