aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_main.c')
-rw-r--r--drivers/net/qlcnic/qlcnic_main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/qlcnic/qlcnic_main.c b/drivers/net/qlcnic/qlcnic_main.c
index 788850e2ba4e..11e3a46c0911 100644
--- a/drivers/net/qlcnic/qlcnic_main.c
+++ b/drivers/net/qlcnic/qlcnic_main.c
@@ -1468,7 +1468,6 @@ qlcnic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1468 uint8_t revision_id; 1468 uint8_t revision_id;
1469 uint8_t pci_using_dac; 1469 uint8_t pci_using_dac;
1470 char brd_name[QLCNIC_MAX_BOARD_NAME_LEN]; 1470 char brd_name[QLCNIC_MAX_BOARD_NAME_LEN];
1471 u32 val;
1472 1471
1473 err = pci_enable_device(pdev); 1472 err = pci_enable_device(pdev);
1474 if (err) 1473 if (err)
@@ -1530,9 +1529,7 @@ qlcnic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1530 if (err) 1529 if (err)
1531 goto err_out_iounmap; 1530 goto err_out_iounmap;
1532 1531
1533 val = QLCRD32(adapter, QLCNIC_CRB_DRV_ACTIVE); 1532 adapter->flags |= QLCNIC_NEED_FLR;
1534 if (QLC_DEV_CHECK_ACTIVE(val, adapter->portnum))
1535 adapter->flags |= QLCNIC_NEED_FLR;
1536 1533
1537 err = adapter->nic_ops->start_firmware(adapter); 1534 err = adapter->nic_ops->start_firmware(adapter);
1538 if (err) { 1535 if (err) {