Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);