mirror of
https://github.com/reactos/reactos.git
synced 2024-09-15 07:05:04 +00:00
- Returning STATUS_BUFFER_OVERFLOW is ok also since we're only trying to get DriverKeyLength
svn path=/branches/aicom-network-fixes/; revision=35761
This commit is contained in:
parent
b4b79146c7
commit
ac9f7a78b0
|
@ -1625,7 +1625,7 @@ NdisIAddDevice(
|
|||
|
||||
Status = IoGetDeviceProperty(PhysicalDeviceObject, DevicePropertyDriverKeyName,
|
||||
0, NULL, &DriverKeyLength);
|
||||
if (Status != STATUS_BUFFER_TOO_SMALL)
|
||||
if (Status != STATUS_BUFFER_TOO_SMALL && Status != STATUS_BUFFER_OVERFLOW)
|
||||
{
|
||||
NDIS_DbgPrint(DEBUG_MINIPORT, ("Can't get miniport driver key length.\n"));
|
||||
return Status;
|
||||
|
|
Loading…
Reference in a new issue