Hannes Reinecke changed bug 1048942
What Removed Added
Flags needinfo?(hare@suse.com)  

Comment # 6 on bug 1048942 from
Could you try this?

diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 811206c..14448bd 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -853,7 +853,8 @@ int qla24xx_fcport_handle_login(struct scsi_qla_host *vha,
fc_port_t *fcport)

        switch (fcport->disc_state) {
        case DSC_DELETED:
-               if (fcport->loop_id == FC_NO_LOOP_ID) {
+               if (fcport->loop_id == FC_NO_LOOP_ID &&
+                   ha->operating_mode != P2P) {
                        ql_dbg(ql_dbg_disc, vha, 0xffff,
                           "%s %d %8phC post gnl\n",
                           __func__, __LINE__, fcport->port_name);


You are receiving this mail because: