aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
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