|
@@ -1184,9 +1184,8 @@ qla2x00_status_entry(scsi_qla_host_t *ha, void *pkt)
|
|
|
atomic_read(&fcport->state)));
|
|
|
|
|
|
cp->result = DID_BUS_BUSY << 16;
|
|
|
- if (atomic_read(&fcport->state) == FCS_ONLINE) {
|
|
|
- qla2x00_mark_device_lost(ha, fcport, 1, 1);
|
|
|
- }
|
|
|
+ if (atomic_read(&fcport->state) == FCS_ONLINE)
|
|
|
+ qla2x00_mark_device_lost(fcport->ha, fcport, 1, 1);
|
|
|
break;
|
|
|
|
|
|
case CS_RESET:
|
|
@@ -1229,7 +1228,7 @@ qla2x00_status_entry(scsi_qla_host_t *ha, void *pkt)
|
|
|
|
|
|
/* Check to see if logout occurred. */
|
|
|
if ((le16_to_cpu(sts->status_flags) & SF_LOGOUT_SENT))
|
|
|
- qla2x00_mark_device_lost(ha, fcport, 1, 1);
|
|
|
+ qla2x00_mark_device_lost(fcport->ha, fcport, 1, 1);
|
|
|
break;
|
|
|
|
|
|
default:
|