]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ipg: fix queue stop condition in the xmit handler
authorFrancois Romieu <romieu@fr.zoreil.com>
Thu, 10 Jan 2008 22:45:05 +0000 (23:45 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Thu, 17 Jan 2008 22:35:09 +0000 (23:35 +0100)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/ipg.c

index 9752902f2d9a51bde550411b9ecac88ff32d1057..b234b293c11ff54df1c3edd3e3522517e27054a7 100644 (file)
@@ -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);