From: Sathya Perla Date: Mon, 22 Aug 2011 19:41:54 +0000 (+0000) Subject: be2net: increase FW update completion timeout X-Git-Tag: v2.6.39-400.9.0~821^2~35 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=bd54f2ce105d1314d39498670de608e5ab4751c6;p=users%2Fjedix%2Flinux-maple.git 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: Sathya Perla Signed-off-by: David S. Miller --- diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c index bb3e5f7dc4ad..f4df30948265 100644 --- a/drivers/net/benet/be_cmds.c +++ b/drivers/net/benet/be_cmds.c @@ -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;