From: erictian Date: Mon, 19 Apr 2010 05:34:25 +0000 (+0000) Subject: Use SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState... X-Git-Tag: edk2-stable201903~15960 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d4a622c4880f8a2c67c5eb3026a1fedb473242d2 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 --- 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.
+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)) {