Skip to content

Commit

Permalink
de2104x: fix the TX watchdog
Browse files Browse the repository at this point in the history
Insert de_init_rings() to reinit the rings before de_init_hw()
tries to access them again.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
  • Loading branch information
Francois Romieu authored and Romieu Francois committed Mar 9, 2006
1 parent 3f735b7 commit 39bf429
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/tulip/de2104x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1453,6 +1453,8 @@ static void de_tx_timeout (struct net_device *dev)
synchronize_irq(dev->irq);
de_clean_rings(de);

de_init_rings(de);

de_init_hw(de);

netif_wake_queue(dev);
Expand Down

0 comments on commit 39bf429

Please sign in to comment.