Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364278
b: refs/heads/master
c: 2be818a
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Mar 21, 2013
1 parent a738071 commit ef80ae5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 23a376f98c5dcfc392d47e8d1872884ff44e585d
refs/heads/master: 2be818a116b22dff518f0d7112e6bed39f2034a1
7 changes: 2 additions & 5 deletions trunk/drivers/usb/serial/quatech2.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,9 +657,7 @@ void qt2_process_read_urb(struct urb *urb)
__func__);
break;
}

if (port_priv->is_open)
tty_flip_buffer_push(&port->port);
tty_flip_buffer_push(&port->port);

newport = *(ch + 3);

Expand Down Expand Up @@ -702,8 +700,7 @@ void qt2_process_read_urb(struct urb *urb)
tty_insert_flip_string(&port->port, ch, 1);
}

if (port_priv->is_open)
tty_flip_buffer_push(&port->port);
tty_flip_buffer_push(&port->port);
}

static void qt2_write_bulk_callback(struct urb *urb)
Expand Down

0 comments on commit ef80ae5

Please sign in to comment.