aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorShahed Shaikh <shahed.shaikh@qlogic.com>2013-01-30 07:47:16 -0500
committerDavid S. Miller <davem@davemloft.net>2013-01-30 20:34:50 -0500
commit4d53f40f541ab29c15982774abddbad4c361cc8c (patch)
treeca4509c790878d4b7638950c03f2735606be960e /drivers
parent283c1c687051241e644af57bef7b6532cd65118a (diff)
qlcnic: Fix minidump in NPAR mode
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com> Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c
index d39447104228..b3ef33a67229 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c
@@ -98,6 +98,7 @@ static int qlcnic_83xx_init_mgmt_vnic(struct qlcnic_adapter *adapter)
98{ 98{
99 int err = -EIO; 99 int err = -EIO;
100 100
101 qlcnic_83xx_get_minidump_template(adapter);
101 if (!(adapter->flags & QLCNIC_ADAPTER_INITIALIZED)) { 102 if (!(adapter->flags & QLCNIC_ADAPTER_INITIALIZED)) {
102 if (qlcnic_init_pci_info(adapter)) 103 if (qlcnic_init_pci_info(adapter))
103 return err; 104 return err;
@@ -130,6 +131,7 @@ static int qlcnic_83xx_init_privileged_vnic(struct qlcnic_adapter *adapter)
130{ 131{
131 int err = -EIO; 132 int err = -EIO;
132 133
134 qlcnic_83xx_get_minidump_template(adapter);
133 if (qlcnic_83xx_get_port_info(adapter)) 135 if (qlcnic_83xx_get_port_info(adapter))
134 return err; 136 return err;
135 137