Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169046
b: refs/heads/master
c: 0de6ab8
h: refs/heads/master
v: v3
  • Loading branch information
Eric W. Biederman authored and Greg Kroah-Hartman committed Dec 1, 2009
1 parent e92d1d6 commit b5d62e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cea83241b3a84499c4f9b12f8288f787e7aa6383
refs/heads/master: 0de6ab8b91f2e1e8e7fc66a8b5c5e8ca82ea16b7
3 changes: 1 addition & 2 deletions trunk/drivers/usb/serial/ftdi_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1937,7 +1937,7 @@ static void ftdi_write_bulk_callback(struct urb *urb)
return;
}
/* account for transferred data */
countback = urb->actual_length;
countback = urb->transfer_buffer_length;
data_offset = priv->write_offset;
if (data_offset > 0) {
/* Subtract the control bytes */
Expand All @@ -1950,7 +1950,6 @@ static void ftdi_write_bulk_callback(struct urb *urb)

if (status) {
dbg("nonzero write bulk status received: %d", status);
return;
}

usb_serial_port_softint(port);
Expand Down

0 comments on commit b5d62e4

Please sign in to comment.