summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-19 05:34:25 +0000
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-19 05:34:25 +0000
commitd4a622c4880f8a2c67c5eb3026a1fedb473242d2 (patch)
tree2ce2a795b2bd6f161888442894dfc071f521a411
parent69c3ab976d4da53311a7573b9ff44c0422a28926 (diff)
downloadedk2-platforms-d4a622c4880f8a2c67c5eb3026a1fedb473242d2.tar.xz
Use SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10382 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c
index eb9bbd971f..2733d562d7 100644
--- a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c
+++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c
@@ -2,8 +2,8 @@
USB Keyboard Driver that manages USB keyboard and produces Simple Text Input
Protocol and Simple Text Input Ex Protocol.
-Copyright (c) 2004 - 2010, Intel Corporation
-All rights reserved. This program and the accompanying materials
+Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
+This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
@@ -320,8 +320,8 @@ USBKeyboardDriverBindingStart (
//
// Reset USB Keyboard Device exhaustively.
//
- Status = UsbKeyboardDevice->SimpleInput.Reset (
- &UsbKeyboardDevice->SimpleInput,
+ Status = UsbKeyboardDevice->SimpleInputEx.Reset (
+ &UsbKeyboardDevice->SimpleInputEx,
TRUE
);
if (EFI_ERROR (Status)) {