Message ID | 1491326232-11255-5-git-send-email-rkennedy@broadcom.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
On Tue, Apr 04, 2017 at 10:16:57AM -0700, Dick Kennedy wrote: > From: Dick Kennedy <rkennedy@lvnvda1400.lvn.broadcom.net> > > PRLI ACC from target is FCP oriented > > > Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> > Signed-off-by: James Smart <james.smart@broadcom.com> > --- Please read: http://lists.infradead.org/pipermail/linux-nvme/2017-March/009035.html
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index d9c61d0..d6e0f58 100644 --- a/drivers/scsi/lpfc/lpfc_els.c +++ b/drivers/scsi/lpfc/lpfc_els.c @@ -4403,7 +4403,7 @@ lpfc_els_rsp_prli_acc(struct lpfc_vport *vport, struct lpfc_iocbq *oldiocb, pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); memset(pcmd, 0, cmdsize); - *((uint32_t *) (pcmd)) = (ELS_CMD_ACC | (ELS_CMD_PRLI & ~ELS_RSP_MASK)); + *((uint32_t *)(pcmd)) = elsrspcmd; pcmd += sizeof(uint32_t); /* For PRLI, remainder of payload is PRLI parameter page */