[KSFILTER]: We may need to check the result of KspScanBus call here. To see whether we need to do that, add an assert. If hit then we know KspScanBus can fail and some proper failure code will be needed.

svn path=/trunk/; revision=71287
This commit is contained in:
Hermès Bélusca-Maïto 2016-05-08 14:53:14 +00:00
parent 2171daa6f5
commit c716950d97

View file

@ -1124,7 +1124,9 @@ KspInstallBusEnumInterface(
}
/* now scan the bus */
KspScanBus(Context->BusDeviceExtension);
Status = KspScanBus(Context->BusDeviceExtension);
// FIXME: We may need to check for success here, and properly fail...
ASSERT(NT_SUCCESS(Status));
/* acquire device entry lock */
KeAcquireSpinLock(&Context->BusDeviceExtension->Lock, &OldLevel);