]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugPortDxe/DebugPort.c
using the exact device path DEBUGPORT_DEVICE_PATH.
[mirror_edk2.git] / MdeModulePkg / Universal / DebugPortDxe / DebugPort.c
index 579f45e9587297775f589dd5d3005f91e672c872..ffe3fb72ecf0fc8fa567d6ecc61b224a4f7b18f0 100644 (file)
@@ -241,7 +241,7 @@ DebugPortSupported (
     if (Status == EFI_SUCCESS && \r
         (Dp2->Type != MESSAGING_DEVICE_PATH ||\r
          Dp2->SubType != MSG_VENDOR_DP || \r
-         *((UINT16 *) Dp2->Length) != sizeof (VENDOR_DEVICE_PATH))) {\r
+         *((UINT16 *) Dp2->Length) != sizeof (DEBUGPORT_DEVICE_PATH))) {\r
 \r
       Status = EFI_UNSUPPORTED;\r
     }\r