[SCSI] lpfc 8.3.30: Make BA_ACC work on a fully qualified exchange
authorJames Smart <james.smart@emulex.com>
Fri, 2 Mar 2012 03:33:29 +0000 (22:33 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Mar 2012 07:26:29 +0000 (08:26 +0100)
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_sli.c

index e0e4d8d18244a9402ccfa5647bd07bdde8ca8576..6b9415fd9c52dd58570a3c41ed7237e698c3d898 100644 (file)
@@ -14203,15 +14203,14 @@ lpfc_sli4_seq_abort_rsp(struct lpfc_hba *phba,
                 * field and RX_ID from ABTS for RX_ID field.
                 */
                bf_set(lpfc_abts_orig, &icmd->un.bls_rsp, LPFC_ABTS_UNSOL_RSP);
-               bf_set(lpfc_abts_rxid, &icmd->un.bls_rsp, rxid);
        } else {
                /* ABTS sent by initiator to CT exchange, construction
                 * of BA_ACC will need to allocate a new XRI as for the
-                * XRI_TAG and RX_ID fields.
+                * XRI_TAG field.
                 */
                bf_set(lpfc_abts_orig, &icmd->un.bls_rsp, LPFC_ABTS_UNSOL_INT);
-               bf_set(lpfc_abts_rxid, &icmd->un.bls_rsp, NO_XRI);
        }
+       bf_set(lpfc_abts_rxid, &icmd->un.bls_rsp, rxid);
        bf_set(lpfc_abts_oxid, &icmd->un.bls_rsp, oxid);
 
        /* Xmit CT abts response on exchange <xid> */