struct device__type * walker;
PDEVICE_RELATIONS dev_relations;
+ if (!(io_stack_loc->Control & SL_PENDING_RETURNED)) {
+ /* Enqueue the IRP. */
+ status = WvBusEnqueueIrp(bus, irp);
+ if (status != STATUS_PENDING)
+ /* Problem. */
+ return driver__complete_irp(irp, 0, status);
+ /* Ok. */
+ return status;
+ }
+ /* If we get here, we should be called by WvBusProcessWorkItems() */
if (
io_stack_loc->Parameters.QueryDeviceRelations.Type != BusRelations ||
irp->IoStatus.Information