]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c
Clean up DuetBdsLib:
[mirror_edk2.git] / DuetPkg / PciBusNoEnumerationDxe / PciDeviceSupport.c
index 83ab7de0f608363a2cdb7b4b014c76f8259876e7..d9327d43e72d3055c9004a64e196545fbc2635bc 100644 (file)
@@ -693,7 +693,7 @@ Returns:
     //\r
     Node.DevPath = RemainingDevicePath;\r
     if (Node.DevPath->Type != HARDWARE_DEVICE_PATH ||\r
-        Node.DevPath->SubType != HW_PCI_DP         &&\r
+        Node.DevPath->SubType != HW_PCI_DP         ||\r
         DevicePathNodeLength (Node.DevPath) != sizeof (PCI_DEVICE_PATH)\r
         ) {\r
       return EFI_UNSUPPORTED;\r