Implement IRP_MN_QUERY_DEVICE_RELATIONS
Activate code in IRP_MN_STOP_DEVICE
Modified: trunk/reactos/drivers/net/ndis/ndis/miniport.c

Modified: trunk/reactos/drivers/net/ndis/ndis/miniport.c
--- trunk/reactos/drivers/net/ndis/ndis/miniport.c	2005-11-23 19:35:44 UTC (rev 19496)
+++ trunk/reactos/drivers/net/ndis/ndis/miniport.c	2005-11-23 20:16:34 UTC (rev 19497)
@@ -1533,9 +1533,6 @@
         break;
 
       case IRP_MN_STOP_DEVICE:
-        /* FIXME */
-        Status = STATUS_UNSUCCESSFUL;
-        break;
         Status = NdisIForwardIrpAndWait(Adapter, Irp);
         if (NT_SUCCESS(Status) && NT_SUCCESS(Irp->IoStatus.Status))
           {
@@ -1545,6 +1542,12 @@
         IoCompleteRequest(Irp, IO_NO_INCREMENT);
         break;
 
+      case IRP_MN_QUERY_DEVICE_RELATIONS:
+        Status = STATUS_NOT_SUPPORTED;
+        Irp->IoStatus.Status = Status;
+        IoCompleteRequest(Irp, IO_NO_INCREMENT);
+        break;
+
       default:
         IoSkipCurrentIrpStackLocation(Irp);
         Status = IoCallDriver(Adapter->NdisMiniportBlock.NextDeviceObject, Irp);