From 6532da2ccbfcbcf13d17a3045a79e9893793c97b Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 13 Oct 2008 00:55:33 +0000 Subject: [PATCH] - Implement ProtocolResetComplete - Store the status that gets passed to the completion routine svn path=/branches/aicom-network-fixes/; revision=36740 --- drivers/network/tcpip/datalink/lan.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/network/tcpip/datalink/lan.c b/drivers/network/tcpip/datalink/lan.c index f7bdfffd61d..35a57977db3 100644 --- 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); }