patch-2.3.48 linux/drivers/net/3c505.c
Next file: linux/drivers/net/8139too.c
Previous file: linux/drivers/isdn/sc/debug.h
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Mon Feb 21 11:23:42 2000
-  Orig file: 
v2.3.47/linux/drivers/net/3c505.c
-  Orig date: 
Sun Feb 20 21:12:39 2000
diff -u --recursive --new-file v2.3.47/linux/drivers/net/3c505.c linux/drivers/net/3c505.c
@@ -361,8 +361,7 @@
 static inline void prime_rx(struct net_device *dev)
 {
 	elp_device *adapter = dev->priv;
-	while (adapter->rx_active < ELP_RX_PCBS &&
-	       netif_running(dev->state)) {
+	while (adapter->rx_active < ELP_RX_PCBS && netif_running(dev)) {
 		if (!start_receive(dev, &adapter->itx_pcb))
 			break;
 	}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)