diff options
| -rw-r--r-- | drivers/tty/n_tty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 8358daa865e5..9e3b21624c82 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c | |||
| @@ -321,7 +321,8 @@ static void n_tty_check_unthrottle(struct tty_struct *tty) | |||
| 321 | 321 | ||
| 322 | static inline void put_tty_queue(unsigned char c, struct n_tty_data *ldata) | 322 | static inline void put_tty_queue(unsigned char c, struct n_tty_data *ldata) |
| 323 | { | 323 | { |
| 324 | *read_buf_addr(ldata, ldata->read_head++) = c; | 324 | *read_buf_addr(ldata, ldata->read_head) = c; |
| 325 | ldata->read_head++; | ||
| 325 | } | 326 | } |
| 326 | 327 | ||
| 327 | /** | 328 | /** |
