summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-10-31 05:50:38 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-31 09:32:55 -0700
commit636f8c6f682ee179ff39c94dc4d0be0ddd6c8cdd (patch)
tree72559dba729c199c98e9d2777e9ed1c1765b82a2 /drivers
parentfde459007de8ce2647beaea57b56985700edc8ac (diff)
downloadlinux-636f8c6f682ee179ff39c94dc4d0be0ddd6c8cdd.tar.gz
linux-636f8c6f682ee179ff39c94dc4d0be0ddd6c8cdd.tar.bz2
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')
-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) {