From: Eric Dumazet Date: Sun, 31 Oct 2010 05:50:38 +0000 (+0000) Subject: qlcnic: fix panic on load X-Git-Tag: 2.1b_release~6267^2~81 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=636f8c6f682ee179ff39c94dc4d0be0ddd6c8cdd;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git qlcnic: fix panic on load Its now illegal to call netif_stop_queue() before register_netdev() Signed-off-by: Eric Dumazet Cc: Amit Kumar Salecha Signed-off-by: David S. Miller --- diff --git a/drivers/net/qlcnic/qlcnic_main.c b/drivers/net/qlcnic/qlcnic_main.c index 7a298cd..a3dcd04 100644 --- a/drivers/net/qlcnic/qlcnic_main.c +++ b/drivers/net/qlcnic/qlcnic_main.c @@ -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) {