summaryrefslogtreecommitdiff
path: root/IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c')
-rw-r--r--IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c b/IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c
index 59c533d8ba..d3c832ff7e 100644
--- a/IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c
+++ b/IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c
@@ -297,7 +297,7 @@ EfiGetNameGuidFromFwVolDevicePathNode (
//
// Use the new Device path that does not conflict with the UEFI
//
- if (FrameworkFvDevicePathNode->Tiano.Header.Type == MEDIA_DEVICE_PATH ||
+ if (FrameworkFvDevicePathNode->Tiano.Header.Type == MEDIA_DEVICE_PATH &&
FrameworkFvDevicePathNode->Tiano.Header.SubType == MEDIA_VENDOR_DP) {
if (CompareGuid (&gEfiFrameworkDevicePathGuid, &FrameworkFvDevicePathNode->Tiano.TianoSpecificDevicePath)) {
if (FrameworkFvDevicePathNode->Tiano.Type == TIANO_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE) {