diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2008-01-10 22:45:05 (GMT) |
---|---|---|
committer | Francois Romieu <romieu@fr.zoreil.com> | 2008-01-17 22:35:09 (GMT) |
commit | dafdec746f8c468bebf6b99f32a392ee6c8d0212 (patch) | |
tree | 4a9ee26da400f09aa1c3ef429e4498af03278784 /drivers/net/ipg.c | |
parent | 0da1b995aee447656c0eb77e4e32468e37f868a3 (diff) | |
download | linux-fsl-qoriq-dafdec746f8c468bebf6b99f32a392ee6c8d0212.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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); |