From 84fa6f66f33ed332feccf60884fd55fd0113622c Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Mon, 28 Jul 2014 12:22:35 +0000 Subject: [PATCH] [LIBUSB] - Don't output spurious failure message "There was no pending IRP for SCE" if everything is fine. svn path=/trunk/; revision=63746 --- reactos/lib/drivers/libusb/hub_controller.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/lib/drivers/libusb/hub_controller.cpp b/reactos/lib/drivers/libusb/hub_controller.cpp index 32b3f7efd4f..0a1be71ef78 100644 --- a/reactos/lib/drivers/libusb/hub_controller.cpp +++ b/reactos/lib/drivers/libusb/hub_controller.cpp @@ -848,7 +848,9 @@ CHubController::HandleBulkOrInterruptTransfer( ASSERT(m_PendingSCEIrp == NULL); if (QueryStatusChangeEndpoint(Irp)) { - StatusChangeEndpointCallBack(this); + // + // We've seen a change already, so return immediately + // return STATUS_SUCCESS; }