From: Vaios Papadimitriou Date: Tue, 8 May 2012 22:01:26 +0000 (-0500) Subject: Fix bug with driver not sending a LOGO with vport delete (CR 126625) X-Git-Tag: v2.6.39-400.9.0~423^2~123^2~12 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fb40da92c8d02bcd433b51e8e8a39e0487fe5205;p=users%2Fjedix%2Flinux-maple.git Fix bug with driver not sending a LOGO with vport delete (CR 126625) Driver did not send LOGO during vport delete causing switch to hold on to the resource. That LOGO is now sent. commit id: bdcd2b926192c7f690a9cb4fb2de30eb820983fc Signed-off-by: Maxim Uvarov --- diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index b099ba9e8988b..d1e1d729ed1e0 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -1,7 +1,7 @@ /******************************************************************* * This file is part of the Emulex Linux Device Driver for * * Fibre Channel Host Bus Adapters. * - * Copyright (C) 2004-2011 Emulex. All rights reserved. * + * Copyright (C) 2004-2012 Emulex. All rights reserved. * * EMULEX and SLI are trademarks of Emulex. * * www.emulex.com * * Portions Copyright (C) 2004-2005 Christoph Hellwig * @@ -7765,6 +7765,7 @@ lpfc_sli4_iocb2wqe(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq, if (pcmd && (*pcmd == ELS_CMD_FLOGI || *pcmd == ELS_CMD_SCR || *pcmd == ELS_CMD_FDISC || + *pcmd == ELS_CMD_LOGO || *pcmd == ELS_CMD_PLOGI)) { bf_set(els_req64_sp, &wqe->els_req, 1); bf_set(els_req64_sid, &wqe->els_req,