Changeset 8e3caa5 in rtems for cpukit/pppd


Ignore:
Timestamp:
Feb 1, 2002, 4:51:07 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
40cf43ea
Parents:
7de58239
Message:

2001-02-01 Mike Siers <mikes@…>

  • pppd/rtemspppd.c (rtems_pppd_disconnect): Modified to avoid bringing the link down too fast. NOTE: Mike reports successfully running at 56K baud on a direct link.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/pppd/rtemspppd.c

    r7de58239 r8e3caa5  
    197197}
    198198
    199 int rtems_pppd_disconnect(void)
     199static void timeout_terminate(void *arg)
    200200{
    201201  /* set pppd global variables to disconnect */
    202202  persist   = 0;
    203203  kill_link = 1;
     204}
     205
     206int rtems_pppd_disconnect(void)
     207{
     208  /* need to wait a little time before we can bring the link down */
     209  /* set up time out in 1 seconds */
     210  TIMEOUT(timeout_terminate, NULL, 1);
    204211
    205212  /* send event to wake up the pppd code */
Note: See TracChangeset for help on using the changeset viewer.