qlcnic: Fix minidump in NPAR mode
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Wed, 30 Jan 2013 12:47:16 +0000 (12:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 01:34:50 +0000 (20:34 -0500)
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>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c

index d394471..b3ef33a 100644 (file)
@@ -98,6 +98,7 @@ static int qlcnic_83xx_init_mgmt_vnic(struct qlcnic_adapter *adapter)
 {
        int err = -EIO;
 
+       qlcnic_83xx_get_minidump_template(adapter);
        if (!(adapter->flags & QLCNIC_ADAPTER_INITIALIZED)) {
                if (qlcnic_init_pci_info(adapter))
                        return err;
@@ -130,6 +131,7 @@ static int qlcnic_83xx_init_privileged_vnic(struct qlcnic_adapter *adapter)
 {
        int err = -EIO;
 
+       qlcnic_83xx_get_minidump_template(adapter);
        if (qlcnic_83xx_get_port_info(adapter))
                return err;