summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-10-31 06:50:38 +0100
committerDavid S. Miller <davem@davemloft.net>2010-10-31 17:32:55 +0100
commit636f8c6f682ee179ff39c94dc4d0be0ddd6c8cdd (patch)
tree72559dba729c199c98e9d2777e9ed1c1765b82a2 /drivers/net
parentjme: fix panic on load (diff)
downloadlinux-636f8c6f682ee179ff39c94dc4d0be0ddd6c8cdd.tar.xz
linux-636f8c6f682ee179ff39c94dc4d0be0ddd6c8cdd.zip
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/qlcnic/qlcnic_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_main.c b/drivers/net/qlcnic/qlcnic_main.c
index 7a298cdf9ab3..a3dcd04be22f 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) {