diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-12-09 20:28:33 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-12-09 20:28:33 +0000 |
commit | 4a0bce19236058d46d4ca37c3d464e202129864b (patch) | |
tree | b081b49e5f10a111a46757c8004d2c0e494cb98d /sys/dev/usb/serial | |
parent | 85e3d588a5fe2917da38480acf8aed6a257f721e (diff) | |
download | src-4a0bce19236058d46d4ca37c3d464e202129864b.tar.gz src-4a0bce19236058d46d4ca37c3d464e202129864b.zip |
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
Notes
Notes:
svn path=/head/; revision=200308
Diffstat (limited to 'sys/dev/usb/serial')
-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 309f82c87469..8a2ef6d28d13 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, }, |