forked from luck/tmp_suning_uos_patched
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:
parent
7b8e824651
commit
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);
|
||||
|
Loading…
Reference in New Issue
Block a user