mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
[PATCH] Fix RocketPort driver
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>
This commit is contained in:
parent
826eeb53a6
commit
1989e20cc1
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ static void rp_do_receive(struct r_port *info,
|
||||||
count += ToRecv;
|
count += ToRecv;
|
||||||
}
|
}
|
||||||
/* Push the data up to the tty layer */
|
/* Push the data up to the tty layer */
|
||||||
ld->receive_buf(tty, cbuf, fbuf, count);
|
ld->receive_buf(tty, chead, fhead, count);
|
||||||
done:
|
done:
|
||||||
tty_ldisc_deref(ld);
|
tty_ldisc_deref(ld);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue