]> git.proxmox.com Git - mirror_edk2.git/commitdiff
update hotplug check logic
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 25 Feb 2009 07:57:45 +0000 (07:57 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 25 Feb 2009 07:57:45 +0000 (07:57 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7674 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c

index 7cea36b5bcb063435f8e2668455cacda38b83d61..5e3b689a18ccb2a9a7b2e84c6984b68399d7ed37 100644 (file)
@@ -301,7 +301,7 @@ TerminalDriverBindingStart (
         goto Error;\r
       }\r
 \r
-      if (IsHotPlugDevice (ParentDevicePath)) {\r
+      if (!IsHotPlugDevice (ParentDevicePath)) {\r
         //\r
         // if the serial device is a hot plug device, do not update the\r
         // ConInDev, ConOutDev, and StdErrDev variables.\r