diff options
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index e0e43d9e7ed1..55870a36ec6a 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -1757,6 +1757,8 @@ check_scsi_status: | |||
1757 | case CS_INCOMPLETE: | 1757 | case CS_INCOMPLETE: |
1758 | case CS_PORT_UNAVAILABLE: | 1758 | case CS_PORT_UNAVAILABLE: |
1759 | case CS_TIMEOUT: | 1759 | case CS_TIMEOUT: |
1760 | case CS_RESET: | ||
1761 | |||
1760 | /* | 1762 | /* |
1761 | * We are going to have the fc class block the rport | 1763 | * We are going to have the fc class block the rport |
1762 | * while we try to recover so instruct the mid layer | 1764 | * while we try to recover so instruct the mid layer |
@@ -1781,10 +1783,6 @@ check_scsi_status: | |||
1781 | qla2x00_mark_device_lost(fcport->vha, fcport, 1, 1); | 1783 | qla2x00_mark_device_lost(fcport->vha, fcport, 1, 1); |
1782 | break; | 1784 | break; |
1783 | 1785 | ||
1784 | case CS_RESET: | ||
1785 | cp->result = DID_TRANSPORT_DISRUPTED << 16; | ||
1786 | break; | ||
1787 | |||
1788 | case CS_ABORTED: | 1786 | case CS_ABORTED: |
1789 | cp->result = DID_RESET << 16; | 1787 | cp->result = DID_RESET << 16; |
1790 | break; | 1788 | break; |