Upgrade NDIS_PM_CAPABILITIES to NDIS 6.30
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
9436da8f7e
commit
1b9fee728b
4
wintun.c
4
wintun.c
@ -1058,8 +1058,8 @@ static NDIS_STATUS TunInitializeEx(NDIS_HANDLE MiniportAdapterHandle, NDIS_HANDL
|
||||
NDIS_PM_CAPABILITIES pmcap = {
|
||||
.Header = {
|
||||
.Type = NDIS_OBJECT_TYPE_DEFAULT,
|
||||
.Revision = NDIS_PM_CAPABILITIES_REVISION_1,
|
||||
.Size = NDIS_SIZEOF_NDIS_PM_CAPABILITIES_REVISION_1
|
||||
.Revision = NdisVersion < NDIS_RUNTIME_VERSION_630 ? NDIS_PM_CAPABILITIES_REVISION_1 : NDIS_PM_CAPABILITIES_REVISION_2,
|
||||
.Size = NdisVersion < NDIS_RUNTIME_VERSION_630 ? NDIS_SIZEOF_NDIS_PM_CAPABILITIES_REVISION_1 : NDIS_SIZEOF_NDIS_PM_CAPABILITIES_REVISION_2
|
||||
},
|
||||
.MinMagicPacketWakeUp = NdisDeviceStateUnspecified,
|
||||
.MinPatternWakeUp = NdisDeviceStateUnspecified,
|
||||
|
Loading…
Reference in New Issue
Block a user