Fix USB mouse Set_Protocol behavior
commit46115ac4c4f211b5b9b4d22f7af6ebe91c79a05c
authorKevin O'Connor <kevin@koconnor.net>
Sat, 28 May 2011 15:47:15 +0000 (28 11:47 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 14 Jun 2011 10:56:49 +0000 (14 12:56 +0200)
tree175e49baecda1d3cf10cebba38f0dee26a0cba83
parentd05393071ad4cb72ae69f77f9f61fc451251521f
Fix USB mouse Set_Protocol behavior

The QEMU USB mouse claims to support the "boot" protocol
(bInterfaceSubClass is 1).  However, the mouse rejects the
Set_Protocol command.

The qemu mouse does support the "boot" protocol specification, so a
simple fix is to enable the Set_Protocol request.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-hid.c