diff options
author | Kshitij Soni <[email protected]> | 2017-02-12 19:18:11 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-02-12 22:18:49 -0500 |
commit | cb4d1d6261453677feb54e7a09c23fc7648dd6bc (patch) | |
tree | a5ed62e24c779e61eda2755c95ac48ac149d3d10 /lib/test-string_helpers.c | |
parent | bac9a7e0f5d6da82478d5e0a2a236158f42d5757 (diff) |
bnxt_en: Retry failed NVM_INSTALL_UPDATE with defragmentation flag.
If the HWRM_NVM_INSTALL_UPDATE command fails with the error code
NVM_INSTALL_UPDATE_CMD_ERR_CODE_FRAG_ERR, retry the command with
a new flag to allow defragmentation. Since we are checking the
response for error code, we also need to take the mutex until
we finish reading the response.
Signed-off-by: Kshitij Soni <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions