Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a6d73d9 authored by Kalesh AP's avatar Kalesh AP Committed by David S. Miller
Browse files

be2net: issue function reset cmd in resume path



The Lancer FW is picky about requiring a function reset FW cmd as a part
of the initialization sequence.

Signed-off-by: default avatarKalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e673244a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5071,6 +5071,10 @@ static int be_resume(struct pci_dev *pdev)
	if (status)
		return status;

	status = be_cmd_reset_function(adapter);
	if (status)
		return status;

	be_intr_set(adapter, true);
	/* tell fw we're ready to fire cmds */
	status = be_cmd_fw_init(adapter);