1
0
Fork 0

ipg: fix queue stop condition in the xmit handler

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
hifive-unleashed-5.1
Francois Romieu 2008-01-10 23:45:05 +01:00
parent 0da1b995ae
commit dafdec746f
1 changed files with 1 additions and 1 deletions

View 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);