Patchwork [RESEND,2/2] The USB tablet should not claim boot protocol support.

login
register
mail settings
Submitter Kevin O'Connor
Date May 28, 2011, 3:47 p.m.
Message ID <20110528154750.GA27805@morn.localdomain>
Download mbox | patch
Permalink /patch/97804/
State New
Headers show

Comments

Kevin O'Connor - May 28, 2011, 3:47 p.m.
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>
---
 hw/usb-hid.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/usb-hid.c b/hw/usb-hid.c
index 268669b..dc659bf 100644
--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -142,7 +142,6 @@  static const USBDescIface desc_iface_tablet = {
     .bInterfaceNumber              = 0,
     .bNumEndpoints                 = 1,
     .bInterfaceClass               = USB_CLASS_HID,
-    .bInterfaceSubClass            = 0x01, /* boot */
     .bInterfaceProtocol            = 0x02,
     .ndesc                         = 1,
     .descs = (USBDescOther[]) {