diff options
author | Somnath Kotur <somnath.kotur@emulex.com> | 2013-05-01 23:36:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-02 16:43:13 -0400 |
commit | 701962d0bbc74cfe60a93389a3394ee358362a71 (patch) | |
tree | 928ae532709b5dcf9ce3e0bef85408f2c9582139 /drivers/net/ethernet/emulex | |
parent | c5dae588fd6d5c6eceaf25fda4a78698d7ad888c (diff) |
be2net: Fix firmware download for Lancer
Increasing the timeout value of write_object command to 60 seconds as
30 second timeout was found to be not enough for the command to complete.
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c index 180c3b79f0b9..e1e5bb9d9054 100644 --- a/drivers/net/ethernet/emulex/benet/be_cmds.c +++ b/drivers/net/ethernet/emulex/benet/be_cmds.c | |||
@@ -2087,7 +2087,7 @@ int lancer_cmd_write_object(struct be_adapter *adapter, struct be_dma_mem *cmd, | |||
2087 | spin_unlock_bh(&adapter->mcc_lock); | 2087 | spin_unlock_bh(&adapter->mcc_lock); |
2088 | 2088 | ||
2089 | if (!wait_for_completion_timeout(&adapter->flash_compl, | 2089 | if (!wait_for_completion_timeout(&adapter->flash_compl, |
2090 | msecs_to_jiffies(30000))) | 2090 | msecs_to_jiffies(60000))) |
2091 | status = -1; | 2091 | status = -1; |
2092 | else | 2092 | else |
2093 | status = adapter->flash_status; | 2093 | status = adapter->flash_status; |