[HW] Pass IRP_MN_QUERY_INTERFACE IRP down the stack.
[mirror/winof/.git] / hw / mlx4 / kernel / hca / drv.c
index cb4d757..4af4c9e 100644 (file)
@@ -1328,7 +1328,14 @@ hca_query_interface(
                &GUID_RDMA_INTERFACE_VERBS ) )\r
        {\r
                status = __query_ci_ifc( p_dev_obj, p_io_stack );\r
-               *p_action = IrpComplete;\r
+               if( !NT_SUCCESS( status ) )\r
+               {\r
+                       *p_action = IrpComplete;\r
+               }\r
+               else\r
+               {\r
+                       *p_action = IrpSkip;\r
+               }\r
        }\r
        else\r
        {\r