[ros-diffs] [hpoussin] 27150: Always complete the IRP_MJ_PNP irp, even if we don't recognize the minor function

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Mon Jun 11 23:26:52 CEST 2007


Author: hpoussin
Date: Tue Jun 12 01:26:51 2007
New Revision: 27150

URL: http://svn.reactos.org/svn/reactos?rev=27150&view=rev
Log:
Always complete the IRP_MJ_PNP irp, even if we don't recognize the minor function

Modified:
    trunk/reactos/drivers/video/videoprt/dispatch.c

Modified: trunk/reactos/drivers/video/videoprt/dispatch.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/dispatch.c?rev=27150&r1=27149&r2=27150&view=diff
==============================================================================
--- trunk/reactos/drivers/video/videoprt/dispatch.c (original)
+++ trunk/reactos/drivers/video/videoprt/dispatch.c Tue Jun 12 01:26:51 2007
@@ -483,7 +483,8 @@
          break;
 
       default:
-         return Irp->IoStatus.Status;
+         Status = Irp->IoStatus.Status;
+         IoCompleteRequest(Irp, IO_NO_INCREMENT);
          break;
    }
 




More information about the Ros-diffs mailing list