X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fppp_async.c;h=f1a52def1241a387c28ed6f5a045b839df8f994f;hb=05946bce839b4fed5442dbfab77060fb75e051f3;hp=1c4b7e37912c776afebb49f505d77bc6f03975af;hpb=f34d7a5b7010b82fe97da95496b9971435530062;p=linux-2.6 diff --git a/drivers/net/ppp_async.c b/drivers/net/ppp_async.c index 1c4b7e3791..f1a52def12 100644 --- a/drivers/net/ppp_async.c +++ b/drivers/net/ppp_async.c @@ -361,9 +361,7 @@ ppp_asynctty_receive(struct tty_struct *tty, const unsigned char *buf, if (!skb_queue_empty(&ap->rqueue)) tasklet_schedule(&ap->tsk); ap_put(ap); - if (test_and_clear_bit(TTY_THROTTLED, &tty->flags) - && tty->ops->unthrottle) - tty->ops->unthrottle(tty); + tty_unthrottle(tty); } static void