commit | dafdec746f8c468bebf6b99f32a392ee6c8d0212 | [log] [tgz] |
---|---|---|
author | Francois Romieu <romieu@fr.zoreil.com> | Thu Jan 10 23:45:05 2008 +0100 |
committer | Francois Romieu <romieu@fr.zoreil.com> | Thu Jan 17 23:35:09 2008 +0100 |
tree | 4a9ee26da400f09aa1c3ef429e4498af03278784 | |
parent | 0da1b995aee447656c0eb77e4e32468e37f868a3 [diff] [blame] |
ipg: fix queue stop condition in the xmit handler Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c index 9752902..b234b29 100644 --- a/drivers/net/ipg.c +++ b/drivers/net/ipg.c
@@ -1994,7 +1994,7 @@ 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);