https://git.reactos.org/?p=reactos.git;a=commitdiff;h=851a554b5922af7ac1a21…
commit 851a554b5922af7ac1a21b12fd788ebb051641b8
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Tue Mar 27 08:59:36 2018 +0200
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Tue Mar 27 08:59:54 2018 +0200
[USBHUB_NEW] Fix USBH_CheckDeviceIDUnique return value.
---
drivers/usb/usbhub_new/usbhub.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/usbhub_new/usbhub.c b/drivers/usb/usbhub_new/usbhub.c
index 354e286505..aa3029edbe 100644
--- a/drivers/usb/usbhub_new/usbhub.c
+++ b/drivers/usb/usbhub_new/usbhub.c
@@ -4123,14 +4123,14 @@ USBH_CheckDeviceIDUnique(IN PUSBHUB_FDO_EXTENSION HubExtension,
if (NumberBytes == SN_DescriptorLength)
{
- break;
+ return FALSE;
}
}
}
}
}
- return FALSE;
+ return TRUE;
}
BOOLEAN