]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
be2net: increase FW update completion timeout
authorSathya Perla <sathya.perla@emulex.com>
Mon, 22 Aug 2011 19:41:54 +0000 (19:41 +0000)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 23:36:08 +0000 (15:36 -0800)
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 <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c

index bb3e5f7dc4adfd7a071ec56a97de9cfb39f993d3..f4df309482657a923fac8239bedb7b53c95df07d 100644 (file)
@@ -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;