aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_main.c')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index e104db7fcf27..3224d28cdad4 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -4476,6 +4476,10 @@ static int be_resume(struct pci_dev *pdev)
4476 pci_set_power_state(pdev, PCI_D0); 4476 pci_set_power_state(pdev, PCI_D0);
4477 pci_restore_state(pdev); 4477 pci_restore_state(pdev);
4478 4478
4479 status = be_fw_wait_ready(adapter);
4480 if (status)
4481 return status;
4482
4479 /* tell fw we're ready to fire cmds */ 4483 /* tell fw we're ready to fire cmds */
4480 status = be_cmd_fw_init(adapter); 4484 status = be_cmd_fw_init(adapter);
4481 if (status) 4485 if (status)