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

Commit 7b8e8246 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

atl1 : fix panic on load



Its now illegal to call netif_stop_queue() before register_netdev()

Reported-by: default avatarTom Gundersen <teg@jklm.no>
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1c260e49
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3043,7 +3043,6 @@ static int __devinit atl1_probe(struct pci_dev *pdev,
	atl1_pcie_patch(adapter);
	/* assume we have no link for now */
	netif_carrier_off(netdev);
	netif_stop_queue(netdev);

	setup_timer(&adapter->phy_config_timer, atl1_phy_config,
		    (unsigned long)adapter);