]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c
set the interface of usb hid device to boot protocol if it's not in such case.
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbMouseDxe / UsbMouse.c
index f51dbfa1cfdde95fe2ca5f76f016a51001b5abc9..d81eaf7eae07e36211845a131a1bd6f92cf5589c 100644 (file)
@@ -605,7 +605,7 @@ InitializeUsbMouseDevice (
   if (Protocol != BOOT_PROTOCOL) {\r
     Status = UsbSetProtocolRequest (\r
                UsbIo,\r
-               0,\r
+               UsbMouseDev->InterfaceDescriptor.InterfaceNumber,\r
                BOOT_PROTOCOL\r
                );\r
 \r