mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 01:35:43 +00:00
Fix serial devices detection
Thanks at Maciej Bialas (bjauy at o2.pl) for testing svn path=/trunk/; revision=38512
This commit is contained in:
parent
1fa9bb9b8e
commit
7d3efdbdb0
3 changed files with 3 additions and 3 deletions
|
@ -132,7 +132,7 @@ SermouseDetectLegacyDevice(
|
|||
/* Open port */
|
||||
Status = ObOpenObjectByPointer(
|
||||
LowerDevice,
|
||||
OBJ_EXCLUSIVE | OBJ_KERNEL_HANDLE,
|
||||
OBJ_KERNEL_HANDLE,
|
||||
NULL,
|
||||
0,
|
||||
NULL,
|
||||
|
|
|
@ -467,7 +467,7 @@ SerenumDetectLegacyDevice(
|
|||
/* Open port */
|
||||
Status = ObOpenObjectByPointer(
|
||||
LowerDevice,
|
||||
OBJ_EXCLUSIVE | OBJ_KERNEL_HANDLE,
|
||||
OBJ_KERNEL_HANDLE,
|
||||
NULL,
|
||||
0,
|
||||
NULL,
|
||||
|
|
|
@ -225,8 +225,8 @@ SerialRead(
|
|||
if (WorkItem)
|
||||
{
|
||||
WorkItemData->IoWorkItem = WorkItem;
|
||||
IoQueueWorkItem(WorkItem, SerialReadWorkItem, DelayedWorkQueue, WorkItemData);
|
||||
IoMarkIrpPending(Irp);
|
||||
IoQueueWorkItem(WorkItem, SerialReadWorkItem, DelayedWorkQueue, WorkItemData);
|
||||
return STATUS_PENDING;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue