Author: tfaber
Date: Mon Jul 28 12:22:35 2014
New Revision: 63746
URL:
http://svn.reactos.org/svn/reactos?rev=63746&view=rev
Log:
[LIBUSB]
- Don't output spurious failure message "There was no pending IRP for SCE"
if everything is fine.
Modified:
trunk/reactos/lib/drivers/libusb/hub_controller.cpp
Modified: trunk/reactos/lib/drivers/libusb/hub_controller.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/libusb/hub_con…
==============================================================================
--- trunk/reactos/lib/drivers/libusb/hub_controller.cpp [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/libusb/hub_controller.cpp [iso-8859-1] Mon Jul 28 12:22:35
2014
@@ -848,7 +848,9 @@
ASSERT(m_PendingSCEIrp == NULL);
if (QueryStatusChangeEndpoint(Irp))
{
- StatusChangeEndpointCallBack(this);
+ //
+ // We've seen a change already, so return immediately
+ //
return STATUS_SUCCESS;
}