patch-2.3.47 linux/drivers/net/tokenring/ibmtr.c

Next file: linux/drivers/net/tokenring/olympic.c
Previous file: linux/drivers/net/tlan.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/drivers/net/tokenring/ibmtr.c linux/drivers/net/tokenring/ibmtr.c
@@ -1177,7 +1177,7 @@
 						      DPRINTK("New ring status: %02X\n", ring_status);
 
 					      if (ring_status & LOG_OVERFLOW) {
-						      if (test_bit(LINK_STATE_XOFF, &dev->state))
+						      if (netif_queue_stopped(dev))
                                                               ti->readlog_pending = 1;
 						      else
                                                               ibmtr_readlog(dev);

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