ixgbe: fix bug where using wake queue instead of start
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 12 Sep 2008 02:54:23 +0000 (19:54 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 24 Sep 2008 22:54:47 +0000 (18:54 -0400)
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/ixgbe/ixgbe_main.c

index 362541aa946efcb569d5396c04b495b159fd6d7e..c67211c91cb6501b007436c0a88679c329b17660 100644 (file)
@@ -3377,7 +3377,7 @@ static int __ixgbe_maybe_stop_tx(struct net_device *netdev,
                return -EBUSY;
 
        /* A reprieve! - use start_queue because it doesn't call schedule */
-       netif_wake_subqueue(netdev, tx_ring->queue_index);
+       netif_start_subqueue(netdev, tx_ring->queue_index);
        ++adapter->restart_queue;
        return 0;
 }