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

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

diff -u --recursive --new-file v2.3.46/linux/drivers/net/plip.c linux/drivers/net/plip.c
@@ -965,7 +965,7 @@
 	struct net_local *nl = (struct net_local *)dev->priv;
 	struct plip_local *snd = &nl->snd_data;
 
-	if (test_bit(LINK_STATE_XOFF, &dev->flags))
+	if (netif_queue_stopped(dev))
 		return 1;
 
 	/* We may need to grab the bus */

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