Skip to content

Commit

Permalink
[PATCH] Fix RocketPort driver
Browse files Browse the repository at this point in the history
Call "ld->receive_buf" using the start of the character and flag buffers,
rather than the ends.

Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Michal Ostrowski authored and Linus Torvalds committed Feb 3, 2006
1 parent 826eeb5 commit 1989e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/rocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ static void rp_do_receive(struct r_port *info,
count += ToRecv;
}
/* Push the data up to the tty layer */
ld->receive_buf(tty, cbuf, fbuf, count);
ld->receive_buf(tty, chead, fhead, count);
done:
tty_ldisc_deref(ld);
}
Expand Down

0 comments on commit 1989e20

Please sign in to comment.