set the interface of usb hid device to boot protocol if it's not in such case.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10953 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
erictian 2010-10-18 07:54:33 +00:00
parent f88ac6f635
commit 8304070106
2 changed files with 2 additions and 2 deletions

View File

@ -599,7 +599,7 @@ InitializeUsbMouseDevice (
if (Protocol != BOOT_PROTOCOL) {
Status = UsbSetProtocolRequest (
UsbIo,
0,
UsbMouseAbsolutePointerDev->InterfaceDescriptor.InterfaceNumber,
BOOT_PROTOCOL
);

View File

@ -605,7 +605,7 @@ InitializeUsbMouseDevice (
if (Protocol != BOOT_PROTOCOL) {
Status = UsbSetProtocolRequest (
UsbIo,
0,
UsbMouseDev->InterfaceDescriptor.InterfaceNumber,
BOOT_PROTOCOL
);