hidclass.sys: Minidriver handling for IRP_MN_REMOVE_DEVICE finished the IRP.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Aric Stewart 2016-10-04 05:35:35 -05:00 committed by Alexandre Julliard
parent ef2e53f981
commit 4163642b99
1 changed files with 1 additions and 2 deletions

View File

@ -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:
{