de2104x: fix panic on load
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>
This commit is contained in:
Родитель
7b8e824651
Коммит
53ab2221da
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче