Skip to contentSkip to conversation

Fix RocketPort driver.

PATCH New Michal Ostrowski 1 participant 1 message Jan 26, 2006 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix RocketPort driver.

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

---

 drivers/char/rocket.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

b4a5d3ca98e99986c157c8aed12f958fe99288fb

drivers/char/rocket.c +1 -1
index 0949dce..7edc6a4 100644
@@ -433,7 +433,7 @@ static void rp_do_receive(struct r_port 
 		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);
 }
Signature · 1 line
1.1.4.g0b63-dirty