mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[SAC] Fix the HeadlessInformation.PortType checks in DriverEntry().
This commit is contained in:
parent
5214d2fab7
commit
8be5f73255
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
|
|||
0,
|
||||
&HeadlessInformation,
|
||||
&InfoSize);
|
||||
if ((HeadlessInformation.Serial.TerminalType != HeadlessUndefinedPortType) &&
|
||||
((HeadlessInformation.Serial.TerminalType != HeadlessSerialPort) ||
|
||||
if ((HeadlessInformation.PortType != HeadlessUndefinedPortType) &&
|
||||
((HeadlessInformation.PortType != HeadlessSerialPort) ||
|
||||
(HeadlessInformation.Serial.TerminalAttached)))
|
||||
{
|
||||
/* It is, so create the device */
|
||||
|
|
Loading…
Reference in a new issue