[ros-diffs] [cgutman] 55375: [HIDCLASS] - Ignore failure to register a device interface during 1st stage setup

cgutman at svn.reactos.org cgutman at svn.reactos.org
Thu Feb 2 17:43:15 UTC 2012


Author: cgutman
Date: Thu Feb  2 17:42:55 2012
New Revision: 55375

URL: http://svn.reactos.org/svn/reactos?rev=55375&view=rev
Log:
[HIDCLASS]
- Ignore failure to register a device interface during 1st stage setup

Modified:
    branches/usb-bringup-trunk/drivers/hid/hidclass/pdo.c

Modified: branches/usb-bringup-trunk/drivers/hid/hidclass/pdo.c
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/hid/hidclass/pdo.c?rev=55375&r1=55374&r2=55375&view=diff
==============================================================================
--- branches/usb-bringup-trunk/drivers/hid/hidclass/pdo.c [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/hid/hidclass/pdo.c [iso-8859-1] Thu Feb  2 17:42:55 2012
@@ -518,10 +518,11 @@
                 Status = IoSetDeviceInterfaceState(&PDODeviceExtension->DeviceInterface, TRUE);
                 DPRINT1("[HIDCLASS] IoSetDeviceInterFaceState %x\n", Status);
             }
-            ASSERT(Status == STATUS_SUCCESS);
-            //
-            // break
-            //
+
+            //
+            // done
+            //
+            Status = STATUS_SUCCESS;
             break;
         }
         case IRP_MN_REMOVE_DEVICE:




More information about the Ros-diffs mailing list