mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:55:41 +00:00
[usb/usbehci]
- CompletePendingRequest: Release the spinlock before and reacquire it after calling IoCallDriver svn path=/trunk/; revision=44994
This commit is contained in:
parent
86cc8888f0
commit
2aac7f8c6a
1 changed files with 2 additions and 3 deletions
|
@ -58,13 +58,12 @@ CompletePendingRequest(PFDO_DEVICE_EXTENSION DeviceExtension)
|
|||
DPRINT("DescriptorType %x\n", Urb->UrbControlDescriptorRequest.DescriptorType);
|
||||
DPRINT("LanguageId %x\n", Urb->UrbControlDescriptorRequest.LanguageId);
|
||||
|
||||
KeReleaseSpinLock(&DeviceExtension->IrpQueueLock, oldIrql);
|
||||
|
||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
||||
Irp->IoStatus.Information = 0;
|
||||
|
||||
KeReleaseSpinLock(&DeviceExtension->IrpQueueLock, oldIrql);
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
return;
|
||||
KeAcquireSpinLock(&DeviceExtension->IrpQueueLock, &oldIrql);
|
||||
}
|
||||
|
||||
KeReleaseSpinLock(&DeviceExtension->IrpQueueLock, oldIrql);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue