Commit 1989e20c authored by Michal Ostrowski's avatar Michal Ostrowski Committed by Linus Torvalds
Browse files

[PATCH] Fix RocketPort driver



Call "ld->receive_buf" using the start of the character and flag buffers,
rather than the ends.

Signed-off-by: default avatarMichal Ostrowski <mostrows@watson.ibm.com>
Acked-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 826eeb53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}