diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-12-09 20:28:33 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-12-09 20:28:33 +0000 |
commit | aedf335d52844b1a99d511795a5acfc974a8e6aa (patch) | |
tree | b081b49e5f10a111a46757c8004d2c0e494cb98d | |
parent | a70a367512b3e7fc5cd4f4480c6fab132c6511e8 (diff) | |
download | FreeBSD-src-aedf335d52844b1a99d511795a5acfc974a8e6aa.zip FreeBSD-src-aedf335d52844b1a99d511795a5acfc974a8e6aa.tar.gz |
Fix hardware issue with FTDI chips: avoid sending a zero length packet due to
hardware sending garbage on ZLPs.
Reported by: Corey Smith
Submitted by: HPS
-rw-r--r-- | sys/dev/usb/serial/uftdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/serial/uftdi.c b/sys/dev/usb/serial/uftdi.c index 309f82c..8a2ef6d 100644 --- a/sys/dev/usb/serial/uftdi.c +++ b/sys/dev/usb/serial/uftdi.c @@ -165,7 +165,7 @@ static const struct usb_config uftdi_config[UFTDI_N_TRANSFER] = { .endpoint = UE_ADDR_ANY, .direction = UE_DIR_OUT, .bufsize = UFTDI_OBUFSIZE, - .flags = {.pipe_bof = 1,.force_short_xfer = 1,}, + .flags = {.pipe_bof = 1,}, .callback = &uftdi_write_callback, }, |