patch-2.3.15 linux/drivers/net/ppp_async.c

Next file: linux/drivers/net/sb1000.c
Previous file: linux/drivers/net/net_init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/drivers/net/ppp_async.c linux/drivers/net/ppp_async.c
@@ -313,7 +313,7 @@
 	switch (cmd) {
 	case PPPIOCGFLAGS:
 		val = ap->flags | ap->rbits;
-		if (put_user(ap->flags, (int *) arg))
+		if (put_user(val, (int *) arg))
 			break;
 		err = 0;
 		break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)