mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[PORTCLS]
- Don't modify status code of irps which are not handled svn path=/trunk/; revision=54190
This commit is contained in:
parent
5071383cac
commit
bb8b519d56
1 changed files with 2 additions and 3 deletions
|
@ -159,10 +159,9 @@ PortClsPnp(
|
||||||
}
|
}
|
||||||
|
|
||||||
DPRINT("unhandled function %u\n", IoStack->MinorFunction);
|
DPRINT("unhandled function %u\n", IoStack->MinorFunction);
|
||||||
|
Status = Irp->IoStatus.Status;
|
||||||
Irp->IoStatus.Status = STATUS_UNSUCCESSFUL;
|
|
||||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||||
return STATUS_UNSUCCESSFUL;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
|
Loading…
Reference in a new issue