public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 05/20] lpfc 8.3.31: Fix unable to create vports on FCoE SLI4 adapter
@ 2012-05-10  1:16 James Smart
  0 siblings, 0 replies; only message in thread
From: James Smart @ 2012-05-10  1:16 UTC (permalink / raw)
  To: linux-scsi

Fix unable to create vports on FCoE SLI4 adapter


Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>

 ---

 lpfc_sli.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
--- a/drivers/scsi/lpfc/lpfc_sli.c	2012-05-07 10:00:55.000000000 -0400
+++ b/drivers/scsi/lpfc/lpfc_sli.c	2012-05-07 10:01:05.000000000 -0400
@@ -7895,7 +7895,7 @@ lpfc_sli4_iocb2wqe(struct lpfc_hba *phba
 					iocbq->vport->fc_myDID);
 				bf_set(wqe_ct, &wqe->els_req.wqe_com, 1);
 				bf_set(wqe_ctxt_tag, &wqe->els_req.wqe_com,
-					phba->vpi_ids[phba->pport->vpi]);
+					phba->vpi_ids[iocbq->vport->vpi]);
 			} else if (pcmd && iocbq->context1) {
 				bf_set(wqe_ct, &wqe->els_req.wqe_com, 0);
 				bf_set(wqe_ctxt_tag, &wqe->els_req.wqe_com,




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-10  1:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-10  1:16 [PATCH 05/20] lpfc 8.3.31: Fix unable to create vports on FCoE SLI4 adapter James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox