]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c
1. Add Missing UefiDrvierModel APIs in UefiLibFramework instances.
[mirror_edk2.git] / IntelFrameworkPkg / Library / UefiLibFramework / UefiNotTiano.c
index 59c533d8ba2b9d76c2d436cc857f2f43d2dc76e8..d3c832ff7e0d321ca6077ae7820ff7ce770d2d36 100644 (file)
@@ -297,7 +297,7 @@ EfiGetNameGuidFromFwVolDevicePathNode (
   //\r
   // Use the new Device path that does not conflict with the UEFI\r
   //\r
-  if (FrameworkFvDevicePathNode->Tiano.Header.Type == MEDIA_DEVICE_PATH ||\r
+  if (FrameworkFvDevicePathNode->Tiano.Header.Type == MEDIA_DEVICE_PATH &&\r
       FrameworkFvDevicePathNode->Tiano.Header.SubType == MEDIA_VENDOR_DP) {\r
     if (CompareGuid (&gEfiFrameworkDevicePathGuid, &FrameworkFvDevicePathNode->Tiano.TianoSpecificDevicePath)) {\r
       if (FrameworkFvDevicePathNode->Tiano.Type == TIANO_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE) {\r