Author: cgutman
Date: Tue Mar 10 22:54:08 2009
New Revision: 39935
URL:
http://svn.reactos.org/svn/reactos?rev=39935&view=rev
Log:
- Implement the MiniportReset handler
Modified:
branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/main.c
Modified: branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/main.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/main.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/dd/ne2000/ne2000/main.c [iso-8859-1] Tue
Mar 10 22:54:08 2009
@@ -662,11 +662,19 @@
* Status of operation
*/
{
+ NDIS_STATUS NdisStatus = NDIS_STATUS_SUCCESS;
+
ASSERT_IRQL_EQUAL(DISPATCH_LEVEL);
NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
- return NDIS_STATUS_FAILURE;
+#ifndef NOCARD
+ NdisStatus = NICReset((PNIC_ADAPTER)MiniportAdapterContext);
+#endif
+
+ *AddressingReset = TRUE;
+
+ return NdisStatus;
}