[USBSTOR]

- Don't flush srb queue because the storage stack is not ready for it yet
- Fixes crash during shutdown

svn path=/trunk/; revision=57617
This commit is contained in:
Johannes Anderwald 2012-10-25 17:17:25 +00:00
parent b1002c5e57
commit 8226ec4807

View file

@ -174,11 +174,13 @@ USBSTOR_HandleInternalDeviceControl(
{
DPRINT1("SRB_FUNCTION_FLUSH / SRB_FUNCTION_FLUSH_QUEUE / SRB_FUNCTION_SHUTDOWN\n");
// HACK: don't flush pending requests
#if 0 // we really need a proper storage stack
//
// wait for pending requests to finish
//
USBSTOR_QueueWaitForPendingRequests(PDODeviceExtension->LowerDeviceObject);
#endif
//
// set status success
//