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>
This commit is contained in:
parent
283c1c6870
commit
4d53f40f54
|
@ -98,6 +98,7 @@ static int qlcnic_83xx_init_mgmt_vnic(struct qlcnic_adapter *adapter)
|
||||||
{
|
{
|
||||||
int err = -EIO;
|
int err = -EIO;
|
||||||
|
|
||||||
|
qlcnic_83xx_get_minidump_template(adapter);
|
||||||
if (!(adapter->flags & QLCNIC_ADAPTER_INITIALIZED)) {
|
if (!(adapter->flags & QLCNIC_ADAPTER_INITIALIZED)) {
|
||||||
if (qlcnic_init_pci_info(adapter))
|
if (qlcnic_init_pci_info(adapter))
|
||||||
return err;
|
return err;
|
||||||
|
@ -130,6 +131,7 @@ static int qlcnic_83xx_init_privileged_vnic(struct qlcnic_adapter *adapter)
|
||||||
{
|
{
|
||||||
int err = -EIO;
|
int err = -EIO;
|
||||||
|
|
||||||
|
qlcnic_83xx_get_minidump_template(adapter);
|
||||||
if (qlcnic_83xx_get_port_info(adapter))
|
if (qlcnic_83xx_get_port_info(adapter))
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue