- 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:
Cameron Gutman 2008-08-29 14:33:42 +00:00
parent b4b79146c7
commit ac9f7a78b0

View file

@ -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;