diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-10-07 16:28:04 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-10-07 16:35:13 +0200 |
commit | 7fd5e89c96cc92254e36012eee733748d255ff29 (patch) | |
tree | e17930368a0dbdd460e99808795beaa1f815497f /cpukit/libnetworking/net/if_ppp.c | |
parent | termios: Separate flow control from normal handler (diff) | |
download | rtems-7fd5e89c96cc92254e36012eee733748d255ff29.tar.bz2 |
termios: Partially hide rtems_termios_tty
Move interrupt lock to device context and expose only this structure to
the read, write and set attributes device handler. This makes these
device handler independent of the general Termios infrastructure
suitable for direct use in printk() support.
Diffstat (limited to 'cpukit/libnetworking/net/if_ppp.c')
-rw-r--r-- | cpukit/libnetworking/net/if_ppp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/net/if_ppp.c b/cpukit/libnetworking/net/if_ppp.c index a1d7a62568..95fa556f25 100644 --- a/cpukit/libnetworking/net/if_ppp.c +++ b/cpukit/libnetworking/net/if_ppp.c @@ -387,7 +387,7 @@ static rtems_task ppp_txdaemon(rtems_task_argument arg) /* write out frame byte to start the transmission */ sc->sc_outchar = (u_char)PPP_FLAG; - (*tp->handler.write)(tp, (char *)&sc->sc_outchar, 1); + (*tp->handler.write)(tp->device_context, (char *)&sc->sc_outchar, 1); } /* check to see if we need to free some empty mbufs */ |