From: Francois Romieu Date: Thu, 10 Jan 2008 22:45:05 +0000 (+0100) Subject: ipg: fix queue stop condition in the xmit handler X-Git-Tag: v2.6.24~41^2~16^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=dafdec746f8c468bebf6b99f32a392ee6c8d0212;p=linux-2.6-omap-h63xx.git ipg: fix queue stop condition in the xmit handler Signed-off-by: Francois Romieu --- diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c index 9752902f2d9..b234b293c11 100644 --- a/drivers/net/ipg.c +++ b/drivers/net/ipg.c @@ -1994,7 +1994,7 @@ static int ipg_nic_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) ipg_w32(IPG_DC_TX_DMA_POLL_NOW, DMA_CTRL); if (sp->tx_current == (sp->tx_dirty + IPG_TFDLIST_LENGTH)) - netif_wake_queue(dev); + netif_stop_queue(dev); spin_unlock_irqrestore(&sp->lock, flags);