mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-17 09:41:09 +02:00
scsi: qla2xxx: shutdown chip if reset fail
commit1e4ac5d6feupstream. If chip unable to fully initialize, use full shutdown sequence to clear out any stale FW state. Fixes:e315cd28b9("[SCSI] qla2xxx: Code changes for qla data structure refactoring") Cc: stable@vger.kernel.org #4.10 Signed-off-by: Quinn Tran <quinn.tran@cavium.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
187dc52dda
commit
792b70b674
@@ -6515,7 +6515,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);
|
||||
|
||||
Reference in New Issue
Block a user