diff options
author | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-18 07:54:33 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-18 07:54:33 +0000 |
commit | 83040701060eaaa9773ffdd54cc0c9022205d09e (patch) | |
tree | db304fa39d6337625c5ef21584c1448e5b3255d4 /MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe | |
parent | f88ac6f6355e8291de5665ebaec07ecef5835723 (diff) | |
download | edk2-83040701060eaaa9773ffdd54cc0c9022205d09e.zip edk2-83040701060eaaa9773ffdd54cc0c9022205d09e.tar.gz edk2-83040701060eaaa9773ffdd54cc0c9022205d09e.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe')
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c b/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c index 2f3cf9a..8c2edb4 100644 --- a/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c +++ b/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c @@ -599,7 +599,7 @@ InitializeUsbMouseDevice ( if (Protocol != BOOT_PROTOCOL) {
Status = UsbSetProtocolRequest (
UsbIo,
- 0,
+ UsbMouseAbsolutePointerDev->InterfaceDescriptor.InterfaceNumber,
BOOT_PROTOCOL
);
|