aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2020-03-11 19:57:43 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2020-03-11 19:57:43 +0000
commitb8e3d9b1ed7953d01953c3de2890305f26024d7e (patch)
treebb7870132dd75639f48e69b02fbf70b55a5f2ce1 /sys/dev/usb
parent311223e0172ed6fed7e9bfbada8f5427dd6c5f32 (diff)
Notes
Diffstat (limited to 'sys/dev/usb')
-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 35b306a6f3f22..55b229225914c 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 = 0, /* use wMaxPacketSize */
+ .bufsize = WMT_BSIZE,
.callback = &wmt_intr_callback,
},
};