wmt(4): revert r358872 (by hselasky)
Limiting frame size to maximum packet size breaks devices which have input report size larger than wMaxPacketSize. Maximal input report size should be used instead. Revert the commit as it have not been MFC-ed yet. Discussed with: hselasky
This commit is contained in:
parent
311223e017
commit
b8e3d9b1ed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358892
@ -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,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user