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