From: vanjeff Date: Wed, 25 Feb 2009 07:57:45 +0000 (+0000) Subject: update hotplug check logic X-Git-Tag: edk2-stable201903~18576 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=7c2228d2cbe543cf6f2a3fa8b2b0802d60aefcb7 update hotplug check logic git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7674 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c index 7cea36b5bc..5e3b689a18 100644 --- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c +++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c @@ -301,7 +301,7 @@ TerminalDriverBindingStart ( goto Error; } - if (IsHotPlugDevice (ParentDevicePath)) { + if (!IsHotPlugDevice (ParentDevicePath)) { // // if the serial device is a hot plug device, do not update the // ConInDev, ConOutDev, and StdErrDev variables.