Aric Stewart : hidclass.sys: Minidriver handling for IRP_MN_REMOVE_DEVICE finished the IRP.
Alexandre Julliard
julliard at winehq.org
Tue Oct 4 13:38:26 CDT 2016
Module: wine
Branch: master
Commit: 4163642b99166fad6fbfb97442577e9e7c605744
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4163642b99166fad6fbfb97442577e9e7c605744
Author: Aric Stewart <aric at codeweavers.com>
Date: Tue Oct 4 05:35:35 2016 -0500
hidclass.sys: Minidriver handling for IRP_MN_REMOVE_DEVICE finished the IRP.
Signed-off-by: Aric Stewart <aric at codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/hidclass.sys/pnp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/hidclass.sys/pnp.c b/dlls/hidclass.sys/pnp.c
index 7df8374..81514c0 100644
--- a/dlls/hidclass.sys/pnp.c
+++ b/dlls/hidclass.sys/pnp.c
@@ -256,8 +256,7 @@ NTSTATUS WINAPI HID_PNP_Dispatch(DEVICE_OBJECT *device, IRP *irp)
case IRP_MN_REMOVE_DEVICE:
{
HID_DeleteDevice(&minidriver->minidriver, device);
- minidriver->PNPDispatch(device, irp);
- break;
+ return minidriver->PNPDispatch(device, irp);
}
default:
{
More information about the wine-cvs
mailing list