[LIBUSB]
authorThomas Faber <thomas.faber@reactos.org>
Mon, 28 Jul 2014 12:22:35 +0000 (12:22 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Mon, 28 Jul 2014 12:22:35 +0000 (12:22 +0000)
- 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

index 32b3f7e..0a1be71 100644 (file)
@@ -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;
         }