patch-1.3.31 linux/drivers/net/ppp.c

Next file: linux/drivers/net/smc-ultra.c
Previous file: linux/drivers/net/plip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.30/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -746,7 +746,7 @@
 	ppp->stats.sbytes += actual;
 	if (actual == count) {
 		ppp->xtail = 0;
-		tty->flags &= ~TTY_DO_WRITE_WAKEUP;
+		tty->flags &= ~(1 << TTY_DO_WRITE_WAKEUP);
 
 		ppp_output_done(ppp);
 	} else {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this