aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 601a6b29750c..e1de7a696bf7 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -3251,6 +3251,7 @@ qla2x00_abort_isp(scsi_qla_host_t *ha)
3251{ 3251{
3252 int rval; 3252 int rval;
3253 uint8_t status = 0; 3253 uint8_t status = 0;
3254 scsi_qla_host_t *vha;
3254 3255
3255 if (ha->flags.online) { 3256 if (ha->flags.online) {
3256 ha->flags.online = 0; 3257 ha->flags.online = 0;
@@ -3265,6 +3266,8 @@ qla2x00_abort_isp(scsi_qla_host_t *ha)
3265 if (atomic_read(&ha->loop_state) != LOOP_DOWN) { 3266 if (atomic_read(&ha->loop_state) != LOOP_DOWN) {
3266 atomic_set(&ha->loop_state, LOOP_DOWN); 3267 atomic_set(&ha->loop_state, LOOP_DOWN);
3267 qla2x00_mark_all_devices_lost(ha, 0); 3268 qla2x00_mark_all_devices_lost(ha, 0);
3269 list_for_each_entry(vha, &ha->vp_list, vp_list)
3270 qla2x00_mark_all_devices_lost(vha, 0);
3268 } else { 3271 } else {
3269 if (!atomic_read(&ha->loop_down_timer)) 3272 if (!atomic_read(&ha->loop_down_timer))
3270 atomic_set(&ha->loop_down_timer, 3273 atomic_set(&ha->loop_down_timer,