commit | 8ce59b16b4b6eacedaec1f7b652b4781cdbfe15f | [log] [tgz] |
---|---|---|
author | Gal Pressman <galp@mellanox.com> | Mon Jun 19 18:25:59 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Tue Jun 27 14:49:57 2017 +0300 |
tree | 3cda6fb92a083a3e09244adc596e140f2e51c09e | |
parent | d747a7a51b00984127a88113cdbbc26f91e9d815 [diff] |
net/mlx5: Fix driver load error flow when firmware is stuck When wait for firmware init fails, previous code would mistakenly return success and cause inconsistency in the driver state. Fixes: 6c780a0267b8 ("net/mlx5: Wait for FW readiness before initializing command interface") Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>