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:
parent
32bf83a34b
commit
8c339050ac
@ -127,7 +127,7 @@ status_t
|
||||
BUSBInterface::OtherDescriptorAt(uint32 index, usb_descriptor *descriptor,
|
||||
size_t length) const
|
||||
{
|
||||
if (length <= 0 && descriptor == NULL)
|
||||
if (length <= 0 || descriptor == NULL)
|
||||
return B_BAD_VALUE;
|
||||
|
||||
usb_raw_command command;
|
||||
|
Loading…
Reference in New Issue
Block a user