mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
qlcnic: fix panic on load
Its now illegal to call netif_stop_queue() before register_netdev() Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fde459007d
commit
636f8c6f68
@ -1450,7 +1450,6 @@ qlcnic_setup_netdev(struct qlcnic_adapter *adapter,
|
||||
netdev->irq = adapter->msix_entries[0].vector;
|
||||
|
||||
netif_carrier_off(netdev);
|
||||
netif_stop_queue(netdev);
|
||||
|
||||
err = register_netdev(netdev);
|
||||
if (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user