提交 dafdec74 编写于 作者: F Francois Romieu

ipg: fix queue stop condition in the xmit handler

Signed-off-by: NFrancois Romieu <romieu@fr.zoreil.com>
上级 0da1b995
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册