[ros-diffs] [weiden] 14364: release the adapter lock after queuing a work item for the request in ProRequet()

weiden at svn.reactos.com weiden at svn.reactos.com
Mon Mar 28 18:04:21 CEST 2005


release the adapter lock after queuing a work item for the request in
ProRequet()
Modified: trunk/reactos/drivers/net/ndis/ndis/protocol.c
  _____  

Modified: trunk/reactos/drivers/net/ndis/ndis/protocol.c
--- trunk/reactos/drivers/net/ndis/ndis/protocol.c	2005-03-28
15:17:54 UTC (rev 14363)
+++ trunk/reactos/drivers/net/ndis/ndis/protocol.c	2005-03-28
16:04:18 UTC (rev 14364)
@@ -159,6 +159,7 @@

   if (QueueWorkItem) 
     {
       MiniQueueWorkItem(Adapter, NdisWorkItemRequest,
(PVOID)NdisRequest);
+      KeReleaseSpinLock(&Adapter->NdisMiniportBlock.Lock, OldIrql);
       return NDIS_STATUS_PENDING;
     } 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050328/e2cf042d/attachment.html


More information about the Ros-diffs mailing list