]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Revert "qla2xxx: During loopdown perform Diagnostic loopback."
authorChad Dupuis <chad.dupuis@qlogic.com>
Fri, 6 Apr 2012 19:33:53 +0000 (12:33 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 23 Jul 2012 08:02:44 +0000 (01:02 -0700)
The LOOP_DOWN test is not needed.

JIRA Key: V2632FC-189

drivers/scsi/qla2xxx/qla_bsg.c

index e51eb688c9a4912d042e6ead6cd58937c13b169d..1b9a6b50467dd666f2a827d510d52cbe2d4fc1d4 100644 (file)
@@ -708,7 +708,6 @@ qla2x00_process_loopback(struct fc_bsg_job *bsg_job)
        elreq.options = bsg_job->request->rqst_data.h_vendor.vendor_cmd[1];
 
        if ((ha->current_topology == ISP_CFG_F ||
-           (atomic_read(&vha->loop_state) == LOOP_DOWN) ||
            ((IS_QLA81XX(ha) || IS_QLA8031(ha)) &&
            le32_to_cpu(*(uint32_t *)req_data) == ELS_OPCODE_BYTE
            && req_data_len == MAX_ELS_FRAME_PAYLOAD)) &&