]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
Rename the confusing PCD.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / Ehci.c
index 0f711e1a0b2f65ebd971021fdc9e3aeca3e622e2..9d181351a2fedd37a8020d74fe965ff04ea9f0bf 100644 (file)
@@ -1580,7 +1580,7 @@ EhcDriverBindingStart (
   // Robustnesss improvement such as for UoL\r
   // Default is not required.\r
   //\r
-  if (FeaturePcdGet (PcdUsbLegacySupport)) {\r
+  if (FeaturePcdGet (PcdTurnOffUsbLegacySupport)) {\r
     EhcClearLegacySupport (Ehc);\r
   }\r
   EhcResetHC (Ehc, EHC_RESET_TIMEOUT);\r