summaryrefslogtreecommitdiffstats
path: root/drivers/net/ipg.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2008-01-10 23:45:05 +0100
committerFrancois Romieu <romieu@fr.zoreil.com>2008-01-17 23:35:09 +0100
commitdafdec746f8c468bebf6b99f32a392ee6c8d0212 (patch)
tree4a9ee26da400f09aa1c3ef429e4498af03278784 /drivers/net/ipg.c
parent0da1b995aee447656c0eb77e4e32468e37f868a3 (diff)
downloadlinux-dafdec746f8c468bebf6b99f32a392ee6c8d0212.tar.gz
linux-dafdec746f8c468bebf6b99f32a392ee6c8d0212.tar.bz2
linux-dafdec746f8c468bebf6b99f32a392ee6c8d0212.zip
ipg: fix queue stop condition in the xmit handler
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/ipg.c')
-rw-r--r--drivers/net/ipg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c
index 9752902f2d9a..b234b293c11f 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);