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

Next file: linux/drivers/net/myri_sbus.c
Previous file: linux/drivers/net/hamradio/yam.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/drivers/net/lance.c linux/drivers/net/lance.c
@@ -1043,7 +1043,7 @@
 #endif
 
 			if (lp->tx_full &&
-			    (test_bit(LINK_STATE_XOFF, &dev->flags)) &&
+			    (netif_queue_stopped(dev)) &&
 			    dirty_tx > lp->cur_tx - TX_RING_SIZE + 2) {
 				/* The ring is no longer full, clear tbusy. */
 				lp->tx_full = 0;

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