ixgbe: fix bug where using wake queue instead of start

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>
This commit is contained in:
Jesse Brandeburg 2008-09-11 19:54:23 -07:00 committed by Jeff Garzik
parent 040dec3b37
commit af72166f31

View 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;
}