DBG("IoAttachDeviceToDeviceStack() failed!\n");
goto err_attach;
}
+ status = bus__start_thread(bus);
+ if (!NT_SUCCESS(status)) {
+ DBG("Couldn't start bus thread!\n");
+ goto err_thread;
+ }
/* Ok! */
KeAcquireSpinLock(&driver__bus_fdo_lock_, &irql);
if (driver__bus_fdo_) {
err_race_failed:
+ err_thread:
+
err_attach:
IoDeleteSymbolicLink(&bus->dos_dev_name);