summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/umct.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/umct.c')
-rw-r--r--sys/dev/usb/umct.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/umct.c b/sys/dev/usb/umct.c
index 37fcb3c..ee8feeb 100644
--- a/sys/dev/usb/umct.c
+++ b/sys/dev/usb/umct.c
@@ -241,7 +241,10 @@ USB_ATTACH(umct)
if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT) {
ucom->sc_bulkout_no = ed->bEndpointAddress;
- ucom->sc_obufsize = UGETW(ed->wMaxPacketSize);
+ if (uaa->product == USB_PRODUCT_MCT_SITECOM_USB232)
+ ucom->sc_obufsize = 16; /* device is broken */
+ else
+ ucom->sc_obufsize = UGETW(ed->wMaxPacketSize);
continue;
}
OpenPOWER on IntegriCloud