mirror of https://github.com/acidanthera/audk.git
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:
parent
f88ac6f635
commit
8304070106
|
@ -599,7 +599,7 @@ InitializeUsbMouseDevice (
|
||||||
if (Protocol != BOOT_PROTOCOL) {
|
if (Protocol != BOOT_PROTOCOL) {
|
||||||
Status = UsbSetProtocolRequest (
|
Status = UsbSetProtocolRequest (
|
||||||
UsbIo,
|
UsbIo,
|
||||||
0,
|
UsbMouseAbsolutePointerDev->InterfaceDescriptor.InterfaceNumber,
|
||||||
BOOT_PROTOCOL
|
BOOT_PROTOCOL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -605,7 +605,7 @@ InitializeUsbMouseDevice (
|
||||||
if (Protocol != BOOT_PROTOCOL) {
|
if (Protocol != BOOT_PROTOCOL) {
|
||||||
Status = UsbSetProtocolRequest (
|
Status = UsbSetProtocolRequest (
|
||||||
UsbIo,
|
UsbIo,
|
||||||
0,
|
UsbMouseDev->InterfaceDescriptor.InterfaceNumber,
|
||||||
BOOT_PROTOCOL
|
BOOT_PROTOCOL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue