From: Eric Dumazet Date: Wed, 3 Nov 2010 12:11:21 +0000 (+0000) Subject: atl1 : fix panic on load X-Git-Tag: submit/tizen/20141203.153721~9608^2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b8e824651c5d2d107627df6eaff025cf17200e4;p=platform%2Fkernel%2Flinux-arm64.git atl1 : fix panic on load Its now illegal to call netif_stop_queue() before register_netdev() Reported-by: Tom Gundersen Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 43579b3b24a..53363108994 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c @@ -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);