Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104683
b: refs/heads/master
c: 4944d40
h: refs/heads/master
i:
  104681: 85a7a2e
  104679: 72bad26
v: v3
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Jul 22, 2008
1 parent c35c378 commit 312cb17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: f89d0dff2507b6bd486b7db59a5f6a733fbfaa12
refs/heads/master: 4944d40054d73b2f8d7d546f55c206eb3baf2710
7 changes: 3 additions & 4 deletions trunk/drivers/usb/serial/omninet.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ static void omninet_read_bulk_callback(struct urb *urb)
unsigned char *data = urb->transfer_buffer;
struct omninet_header *header = (struct omninet_header *) &data[0];
int status = urb->status;
int i;
int result;
int i;

dbg("%s - port %d", __func__, port->number);

Expand All @@ -229,9 +229,8 @@ static void omninet_read_bulk_callback(struct urb *urb)
}

if (urb->actual_length && header->oh_len) {
for (i = 0; i < header->oh_len; i++)
tty_insert_flip_char(port->port.tty,
data[OMNINET_DATAOFFSET + i], 0);
tty_insert_flip_string(port->port.tty,
data + OMNINET_DATAOFFSET, header->oh_len);
tty_flip_buffer_push(port->port.tty);
}

Expand Down

0 comments on commit 312cb17

Please sign in to comment.