mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- 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)
svn path=/trunk/; revision=42389
This commit is contained in:
parent
2669a0a58d
commit
7bd9b42040
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ MiniportQueryInformation(
|
||||||
|
|
||||||
case OID_GEN_HARDWARE_STATUS:
|
case OID_GEN_HARDWARE_STATUS:
|
||||||
{
|
{
|
||||||
GenericULONG = (ULONG)((Adapter->MediaState == NdisMediaStateConnected) ? NdisHardwareStatusReady : NdisHardwareStatusNotReady);
|
GenericULONG = (ULONG)NdisHardwareStatusReady;
|
||||||
|
/* ((Adapter->MediaState == NdisMediaStateConnected) ? NdisHardwareStatusReady : NdisHardwareStatusNotReady); */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue