[ros-diffs] [cgutman] 42389: - 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)

cgutman at svn.reactos.org cgutman at svn.reactos.org
Tue Aug 4 21:04:08 CEST 2009


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/requests.c?rev=42389&r1=42388&r2=42389&view=diff
==============================================================================
--- 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;
         }
 




More information about the Ros-diffs mailing list