Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12be3461 authored by Ravinder Konka's avatar Ravinder Konka
Browse files

net: ppp: ppp_async: Fix data stall issue over low latency tty port.



Increase the receive room and avoid calling unthrottle
on a low latency tty port.

Change-Id: Ibd762060fa8a9529d37c92ba84117fd7bfbc5886
Signed-off-by: default avatarRavinder Konka <rkonka@codeaurora.org>
parent f1b354f8
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ ppp_asynctty_open(struct tty_struct *tty)
		goto out_free;

	tty->disc_data = ap;
	tty->receive_room = 65536;
	tty->receive_room = 131072;
	return 0;

 out_free:
@@ -356,6 +356,7 @@ ppp_asynctty_receive(struct tty_struct *tty, const unsigned char *buf,
	if (!skb_queue_empty(&ap->rqueue))
		tasklet_schedule(&ap->tsk);
	ap_put(ap);
	if (tty->port && !tty->port->low_latency)
		tty_unthrottle(tty);
}