mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Don't close port if opening failed
svn path=/trunk/; revision=15722
This commit is contained in:
parent
793415253c
commit
c5bcf76042
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ SerenumDetectLegacyDevice(
|
||||||
|
|
||||||
/* Open port */
|
/* Open port */
|
||||||
Status = SerenumSendIrp(LowerDevice, IRP_MJ_CREATE);
|
Status = SerenumSendIrp(LowerDevice, IRP_MJ_CREATE);
|
||||||
if (!NT_SUCCESS(Status)) goto ByeBye;
|
if (!NT_SUCCESS(Status)) return Status;
|
||||||
|
|
||||||
/* Reset UART */
|
/* Reset UART */
|
||||||
CHECKPOINT;
|
CHECKPOINT;
|
||||||
|
|
Loading…
Reference in a new issue