Commit 636f8c6f authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

qlcnic: 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>
Cc: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fde45900
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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) {