Author: cgutman
Date: Tue Aug 4 21:04:08 2009
New Revision: 42389
URL:
http://svn.reactos.org/svn/reactos?rev=42389&view=rev
Log:
- Hardcode the return value of OID_GEN_HARDWARE_STATUS again due to media detection
issues on certain pcnet adapters (such as vmware's emulated pcnet adapter)
Modified:
trunk/reactos/drivers/network/dd/pcnet/requests.c
Modified: trunk/reactos/drivers/network/dd/pcnet/requests.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/pcnet/r…
==============================================================================
--- trunk/reactos/drivers/network/dd/pcnet/requests.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/pcnet/requests.c [iso-8859-1] Tue Aug 4 21:04:08
2009
@@ -139,7 +139,8 @@
case OID_GEN_HARDWARE_STATUS:
{
- GenericULONG = (ULONG)((Adapter->MediaState == NdisMediaStateConnected) ?
NdisHardwareStatusReady : NdisHardwareStatusNotReady);
+ GenericULONG = (ULONG)NdisHardwareStatusReady;
+ /* ((Adapter->MediaState == NdisMediaStateConnected) ?
NdisHardwareStatusReady : NdisHardwareStatusNotReady); */
break;
}