mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:13:05 +00:00
Device type can be undefined if kbdclass or mouclass is not loaded.
svn path=/trunk/; revision=35412
This commit is contained in:
parent
4aa45a6803
commit
878ef89965
1 changed files with 2 additions and 2 deletions
|
@ -617,8 +617,8 @@ i8042PnpStartDevice(
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
ERR_(I8042PRT, "Unknown FDO type %u\n", DeviceExtension->Type);
|
WARN_(I8042PRT, "Unknown FDO type %u\n", DeviceExtension->Type);
|
||||||
ASSERT(FALSE);
|
ASSERT(!(PortDeviceExtension->Flags & KEYBOARD_CONNECTED) || !(PortDeviceExtension->Flags & MOUSE_CONNECTED));
|
||||||
Status = STATUS_INVALID_DEVICE_REQUEST;
|
Status = STATUS_INVALID_DEVICE_REQUEST;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue