mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +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;
|
||||
}
|
||||
|
||||
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[IRP_MJ_PNP] = NdisIDispatchPnp;
|
||||
|
|
Loading…
Reference in a new issue