X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=linux%2Fppp.c;h=8cc2727179ff912ee64c66f4de3907d26a33b87e;hb=3bc92613d8e96c02e856a37ba445cff9f23d6ecd;hp=aa0ebc54a9fb7677e4045f80810abd357a530ca7;hpb=713f439d750c5774b1ae86b9b830a35819d00d2e;p=ppp.git diff --git a/linux/ppp.c b/linux/ppp.c index aa0ebc5..8cc2727 100644 --- a/linux/ppp.c +++ b/linux/ppp.c @@ -4,7 +4,7 @@ * Al Longyear * Extensively rewritten by Paul Mackerras * - * ==FILEVERSION 990331== + * ==FILEVERSION 990412== * * NOTE TO MAINTAINERS: * If you modify this file at all, please set the number above to the @@ -45,7 +45,7 @@ #define PPP_MAX_RCV_QLEN 32 /* max # frames we queue up for pppd */ -/* $Id: ppp.c,v 1.24 1999/03/31 06:07:57 paulus Exp $ */ +/* $Id: ppp.c,v 1.25 1999/04/16 11:29:13 paulus Exp $ */ #include #include @@ -552,6 +552,7 @@ ppp_tty_close (struct tty_struct *tty) ppp->tty = ppp->backup_tty; if (ppp_tty_push(ppp)) ppp_output_wakeup(ppp); + wake_up_interruptible(&ppp->read_wait); } else { ppp->tty = 0; ppp->sc_xfer = 0;