Commit 53ab2221 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

de2104x: fix panic on load

Its now illegal to call netif_stop_queue() before register_netdev()
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7b8e8246
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment