mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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,
|
0,
|
||||||
&HeadlessInformation,
|
&HeadlessInformation,
|
||||||
&InfoSize);
|
&InfoSize);
|
||||||
if ((HeadlessInformation.Serial.TerminalType != HeadlessUndefinedPortType) &&
|
if ((HeadlessInformation.PortType != HeadlessUndefinedPortType) &&
|
||||||
((HeadlessInformation.Serial.TerminalType != HeadlessSerialPort) ||
|
((HeadlessInformation.PortType != HeadlessSerialPort) ||
|
||||||
(HeadlessInformation.Serial.TerminalAttached)))
|
(HeadlessInformation.Serial.TerminalAttached)))
|
||||||
{
|
{
|
||||||
/* It is, so create the device */
|
/* It is, so create the device */
|
||||||
|
|
Loading…
Reference in a new issue