Fix an issue in the implementation of GetDriverName() in Con splitter driver. We need to compare "This" paramter with all 5 protocol instances to decide whether it stands for CN or CN2.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5368 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2008-06-25 02:52:43 +00:00
parent 0de1895fd6
commit abda9e12b1
1 changed files with 5 additions and 1 deletions

View File

@ -225,7 +225,11 @@ ConSplitterComponentNameGetDriverName (
This->SupportedLanguages, This->SupportedLanguages,
mConSplitterDriverNameTable, mConSplitterDriverNameTable,
DriverName, DriverName,
(BOOLEAN)(This == &gConSplitterConInComponentName) (BOOLEAN)((This == &gConSplitterConInComponentName) ||
(This == &gConSplitterSimplePointerComponentName) ||
(This == &gConSplitterAbsolutePointerComponentName) ||
(This == &gConSplitterConOutComponentName) ||
(This == &gConSplitterStdErrComponentName))
); );
} }