mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +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 */
|
||||
Status = SerenumSendIrp(LowerDevice, IRP_MJ_CREATE);
|
||||
if (!NT_SUCCESS(Status)) goto ByeBye;
|
||||
if (!NT_SUCCESS(Status)) return Status;
|
||||
|
||||
/* Reset UART */
|
||||
CHECKPOINT;
|
||||
|
|
Loading…
Reference in a new issue