mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
ipg: fix queue stop condition in the xmit handler
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
This commit is contained in:
parent
0da1b995ae
commit
dafdec746f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue