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:
Ithamar R. Adema 2009-02-22 12:58:24 +00:00
parent 32bf83a34b
commit 8c339050ac

View File

@ -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;