mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Don't close port if opening failed
svn path=/trunk/; revision=15722
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user