Changeset ff7217b in rtems


Ignore:
Timestamp:
Oct 7, 2014, 12:51:39 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
a830cb8
Parents:
74f5eaf
git-author:
Sebastian Huber <sebastian.huber@…> (10/07/14 12:51:39)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/07/14 13:09:47)
Message:

termios: Fix transmit daemon

Do not call rtems_termios_refill_transmitter() in case a PPP line
discipline is present. This is similar to
rtems_termios_dequeue_characters().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/termios.c

    r74f5eaf rff7217b  
    17861786  if (tty->t_line == PPPDISC ) {
    17871787    /*
    1788      * call any line discipline start function
     1788     * call PPP line discipline start function
    17891789     */
    17901790    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {
     
    18251825    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {
    18261826      rtems_termios_linesw[tty->t_line].l_start(tty);
     1827
     1828      if (tty->t_line == PPPDISC) {
     1829        /*
     1830         * Do not call rtems_termios_refill_transmitter() in this case similar
     1831         * to rtems_termios_dequeue_characters().
     1832         */
     1833        continue;
     1834      }
    18271835    }
    18281836
Note: See TracChangeset for help on using the changeset viewer.