mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
fixed some warnings
svn path=/trunk/; revision=13557
This commit is contained in:
parent
31a913fde7
commit
3922c4030b
1 changed files with 7 additions and 4 deletions
|
@ -1290,14 +1290,14 @@ NdisIPnPStartDevice(
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
UINT SelectedMediumIndex = 0;
|
UINT SelectedMediumIndex = 0;
|
||||||
NDIS_OID AddressOID;
|
NDIS_OID AddressOID;
|
||||||
BOOLEAN Success;
|
BOOLEAN Success = FALSE;
|
||||||
ULONG ResourceCount;
|
ULONG ResourceCount;
|
||||||
ULONG ResourceListSize;
|
ULONG ResourceListSize;
|
||||||
UNICODE_STRING ParamName;
|
UNICODE_STRING ParamName;
|
||||||
PNDIS_CONFIGURATION_PARAMETER ConfigParam;
|
PNDIS_CONFIGURATION_PARAMETER ConfigParam;
|
||||||
NDIS_HANDLE ConfigHandle;
|
NDIS_HANDLE ConfigHandle;
|
||||||
ULONG Size;
|
ULONG Size;
|
||||||
KIRQL OldIrql;
|
/* FIXME - KIRQL OldIrql; */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prepare wrapper context used by HW and configuration routines.
|
* Prepare wrapper context used by HW and configuration routines.
|
||||||
|
@ -1461,7 +1461,7 @@ NdisIPnPStartDevice(
|
||||||
/* FIXME: Support other types of media */
|
/* FIXME: Support other types of media */
|
||||||
NDIS_DbgPrint(MIN_TRACE, ("error: unsupported media\n"));
|
NDIS_DbgPrint(MIN_TRACE, ("error: unsupported media\n"));
|
||||||
ASSERT(FALSE);
|
ASSERT(FALSE);
|
||||||
KeReleaseSpinLock(&Adapter->NdisMiniportBlock.Lock, OldIrql);
|
/* FIXME - KeReleaseSpinLock(&Adapter->NdisMiniportBlock.Lock, OldIrql); */
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1564,6 +1564,8 @@ NdisIDispatchPnp(
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case IRP_MN_STOP_DEVICE:
|
case IRP_MN_STOP_DEVICE:
|
||||||
|
/* FIXME */
|
||||||
|
Status = STATUS_UNSUCCESSFUL;
|
||||||
break;
|
break;
|
||||||
Status = NdisIForwardIrpAndWait(Adapter, Irp);
|
Status = NdisIForwardIrpAndWait(Adapter, Irp);
|
||||||
if (NT_SUCCESS(Status) && NT_SUCCESS(Irp->IoStatus.Status))
|
if (NT_SUCCESS(Status) && NT_SUCCESS(Irp->IoStatus.Status))
|
||||||
|
@ -1576,7 +1578,8 @@ NdisIDispatchPnp(
|
||||||
|
|
||||||
default:
|
default:
|
||||||
IoSkipCurrentIrpStackLocation(Irp);
|
IoSkipCurrentIrpStackLocation(Irp);
|
||||||
return IoCallDriver(Adapter->NdisMiniportBlock.NextDeviceObject, Irp);
|
Status = IoCallDriver(Adapter->NdisMiniportBlock.NextDeviceObject, Irp);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
|
|
Loading…
Reference in a new issue