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

Commit e2edb7d5 authored by Sathya Perla's avatar Sathya Perla Committed by David S. Miller
Browse files

be2net: increase FW update completion timeout



Flashing some of the PHYs can take longer thus increasing the total flash
update time to a max of 40s.

Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 09c1c68f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1939,7 +1939,7 @@ int be_cmd_write_flashrom(struct be_adapter *adapter, struct be_dma_mem *cmd,
	spin_unlock_bh(&adapter->mcc_lock);

	if (!wait_for_completion_timeout(&adapter->flash_compl,
			msecs_to_jiffies(12000)))
			msecs_to_jiffies(40000)))
		status = -1;
	else
		status = adapter->flash_status;