Skip to content

Commit

Permalink
de2104x: fix panic on load
Browse files Browse the repository at this point in the history
Its now illegal to call netif_stop_queue() before register_netdev()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 4, 2010
1 parent 7b8e824 commit 53ab222
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/tulip/de2104x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,6 @@ static int __devinit de_init_one (struct pci_dev *pdev,
de->media_timer.data = (unsigned long) de;

netif_carrier_off(dev);
netif_stop_queue(dev);

/* wake up device, assign resources */
rc = pci_enable_device(pdev);
Expand Down

0 comments on commit 53ab222

Please sign in to comment.