summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Console/TerminalDxe
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-25 07:57:45 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-25 07:57:45 +0000
commit7c2228d2cbe543cf6f2a3fa8b2b0802d60aefcb7 (patch)
tree6dbc72ead05cf36d1014b23d576ee685f57d08aa /MdeModulePkg/Universal/Console/TerminalDxe
parentf1aec6ccb4025a96270a25f87d212ec994793673 (diff)
downloadedk2-7c2228d2cbe543cf6f2a3fa8b2b0802d60aefcb7.zip
edk2-7c2228d2cbe543cf6f2a3fa8b2b0802d60aefcb7.tar.gz
edk2-7c2228d2cbe543cf6f2a3fa8b2b0802d60aefcb7.tar.bz2
update hotplug check logic
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7674 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Console/TerminalDxe')
-rw-r--r--MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
index 7cea36b..5e3b689 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.