patch-1.3.17 linux/drivers/net/plip.c

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

diff -u --recursive --new-file v1.3.16/linux/drivers/net/plip.c linux/drivers/net/plip.c
@@ -470,7 +470,9 @@
 		return OK;
 
 	case PLIP_NB_2:
+		break;
 	}
+	return TIMEOUT; /* XX: ?? */
 }
 
 /* PLIP_RECEIVE_PACKET --- receive a packet */
@@ -632,6 +634,7 @@
 		*ns_p = PLIP_NB_BEGIN;
 		return OK;
 	}
+	return TIMEOUT;
 }
 
 /* PLIP_SEND_PACKET --- send a packet */

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