projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b01ceaa
)
- Implement ProtocolResetComplete
author
Cameron Gutman
<aicommander@gmail.com>
Mon, 13 Oct 2008 00:55:33 +0000
(
00:55
+0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Mon, 13 Oct 2008 00:55:33 +0000
(
00:55
+0000)
- Store the status that gets passed to the completion routine
svn path=/branches/aicom-network-fixes/; revision=36740
drivers/network/tcpip/datalink/lan.c
patch
|
blob
|
history
diff --git
a/drivers/network/tcpip/datalink/lan.c
b/drivers/network/tcpip/datalink/lan.c
index
f7bdfff
..
35a5797
100644
(file)
--- a/
drivers/network/tcpip/datalink/lan.c
+++ b/
drivers/network/tcpip/datalink/lan.c
@@
-201,6
+201,8
@@
VOID STDCALL ProtocolOpenAdapterComplete(
TI_DbgPrint(DEBUG_DATALINK, ("Called.\n"));
+ Adapter->NdisStatus = Status;
+
KeSetEvent(&Adapter->Event, 0, FALSE);
}
@@
-235,7
+237,13
@@
VOID STDCALL ProtocolResetComplete(
* Status = Status of the operation
*/
{
- TI_DbgPrint(MID_TRACE, ("Called.\n"));
+ PLAN_ADAPTER Adapter = (PLAN_ADAPTER)BindingContext;
+
+ TI_DbgPrint(DEBUG_DATALINK, ("Called.\n"));
+
+ Adapter->NdisStatus = Status;
+
+ KeSetEvent(&Adapter->Event, 0, FALSE);
}