diff mbox

[PATCHv2] The USB tablet should not claim boot protocol support.

Message ID 20100802153107.GA9101@morn.localdomain
State New
Headers show

Commit Message

Kevin O'Connor Aug. 2, 2010, 3:31 p.m. UTC
The USB tablet advertises that it supports the "boot" protocol.
However, its reports aren't "boot" protocol compatible.  So, it
shouldn't claim that.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
---
Changes v1->v2:
  Add signed-off-by line.
---
 hw/usb-hid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/hw/usb-hid.c b/hw/usb-hid.c
index d54823d..3af0c5a 100644
--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -182,7 +182,7 @@  static const uint8_t qemu_tablet_config_descriptor[] = {
 	0x00,       /*  u8  if_bAlternateSetting; */
 	0x01,       /*  u8  if_bNumEndpoints; */
 	0x03,       /*  u8  if_bInterfaceClass; */
-	0x01,       /*  u8  if_bInterfaceSubClass; */
+	0x00,       /*  u8  if_bInterfaceSubClass; */
 	0x02,       /*  u8  if_bInterfaceProtocol; [usb1.1 or single tt] */
 	0x07,       /*  u8  if_iInterface; */