Page MenuHomeFreeBSD
Authored By
wulf
Aug 21 2018, 4:09 PM
Size
643 B
Referenced Files
None
Subscribers
None

wmt.patch

diff --git a/sys/dev/usb/input/wmt.c b/sys/dev/usb/input/wmt.c
index 226023a57bfd..cadc8eacda6e 100644
--- sys/dev/usb/input/wmt.c
+++ sys/dev/usb/input/wmt.c
@@ -809,6 +809,9 @@ wmt_hid_parse(struct wmt_softc *sc, const void *d_ptr, uint16_t d_len)
}
sc->isize = wmt_hid_report_size(d_ptr, d_len, hid_input, report_id);
+ device_printf(sc->dev, "Report %hhu size: %d\n", report_id, sc->isize);
+ sc->isize = hid_report_size(d_ptr, d_len, hid_input, NULL);
+ device_printf(sc->dev, "Maximum input size: %d\n", sc->isize);
sc->cont_max_rlen = wmt_hid_report_size(d_ptr, d_len, hid_feature,
cont_max_rid);
if (thqa_cert_rid > 0)

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1531230
Default Alt Text
wmt.patch (643 B)

Event Timeline