mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
- MajorFunction has IRP_MJ_MAXIMUM_FUNCTION positions
- Sorry for so many commits on the same function svn path=/trunk/; revision=41090
This commit is contained in:
parent
d63e071c3d
commit
e9cab0901b
1 changed files with 1 additions and 1 deletions
|
@ -2788,7 +2788,7 @@ NdisMRegisterDevice(
|
||||||
return NDIS_STATUS_RESOURCES;
|
return NDIS_STATUS_RESOURCES;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < IRP_MJ_MAXIMUM_FUNCTION; i++)
|
for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
|
||||||
DriverBlock->DriverObject->MajorFunction[i] = MajorFunctions[i];
|
DriverBlock->DriverObject->MajorFunction[i] = MajorFunctions[i];
|
||||||
|
|
||||||
DriverBlock->DriverObject->MajorFunction[IRP_MJ_PNP] = NdisIDispatchPnp;
|
DriverBlock->DriverObject->MajorFunction[IRP_MJ_PNP] = NdisIDispatchPnp;
|
||||||
|
|
Loading…
Reference in a new issue