mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-18 08:26:02 +08:00
ppp: Fix transmitting data
The pppstart expected that a driver write would somehow magically process all data passed to the write function. Because ppp disables all buffering that originally has been in termios, that assumption is not true for all but polled drivers. With this patch, the pppstart now gets and processes the feedback that is returned from the driver via rtems_termios_dequeue_characters. Fixes #4493
This commit is contained in:
@@ -117,6 +117,7 @@ struct ppp_softc {
|
||||
|
||||
struct ifqueue sc_freeq; /* free packets */
|
||||
short sc_outoff; /* output packet byte offset */
|
||||
bool sc_outoff_update; /* outoff needs update in pppstart */
|
||||
short sc_outflag; /* output status flag */
|
||||
short sc_outlen; /* length of output packet */
|
||||
short sc_outfcslen; /* length of output fcs data */
|
||||
|
Reference in New Issue
Block a user