summaryrefslogtreecommitdiff
path: root/sys/dev/usb/input
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2020-03-11 08:16:13 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2020-03-11 08:16:13 +0000
commit45ddfe6806b99cea1ac0baabe2fbc8f1f220b7a6 (patch)
treea756a9b534a800aad59671127a763f1da4ee87f6 /sys/dev/usb/input
parente3bf606c5d658e5fafb5d6168b0d4e7c9b0dd5ce (diff)
Notes
Diffstat (limited to 'sys/dev/usb/input')
-rw-r--r--sys/dev/usb/input/wmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/input/wmt.c b/sys/dev/usb/input/wmt.c
index 55b229225914..35b306a6f3f2 100644
--- a/sys/dev/usb/input/wmt.c
+++ b/sys/dev/usb/input/wmt.c
@@ -251,7 +251,7 @@ static const struct usb_config wmt_config[WMT_N_TRANSFER] = {
.endpoint = UE_ADDR_ANY,
.direction = UE_DIR_IN,
.flags = { .pipe_bof = 1, .short_xfer_ok = 1 },
- .bufsize = WMT_BSIZE,
+ .bufsize = 0, /* use wMaxPacketSize */
.callback = &wmt_intr_callback,
},
};