Skip to content

Commit

Permalink
scsi: qla2xxx: shutdown chip if reset fail
Browse files Browse the repository at this point in the history
If chip unable to fully initialize, use full shutdown sequence to clear out
any stale FW state.

Fixes: e315cd2 ("[SCSI] qla2xxx: Code changes for qla data structure refactoring")
Cc: [email protected]  #4.10
Signed-off-by: Quinn Tran <[email protected]>
Signed-off-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
  • Loading branch information
Quinn Tran authored and martinkpetersen committed Sep 12, 2018
1 parent 861d483 commit 1e4ac5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -6784,7 +6784,7 @@ qla2x00_abort_isp(scsi_qla_host_t *vha)
* The next call disables the board
* completely.
*/
ha->isp_ops->reset_adapter(vha);
qla2x00_abort_isp_cleanup(vha);
vha->flags.online = 0;
clear_bit(ISP_ABORT_RETRY,
&vha->dpc_flags);
Expand Down

0 comments on commit 1e4ac5d

Please sign in to comment.