scsi: qla2xxx: Clear fc4f_nvme flag
authorDarren Trap <darren.trap@cavium.com>
Wed, 30 Aug 2017 17:16:48 +0000 (10:16 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 31 Aug 2017 02:14:15 +0000 (22:14 -0400)
Signed-off-by: Darren Trap <darren.trap@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c

index 30b3acacbfca9edfde8793cfdec9fb3475e6dd43..73a6c3abb11567270a06a506cf8d8bc286bedc04 100644 (file)
@@ -4937,6 +4937,7 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *vha)
                                new_fcport->fc4_type = swl[swl_idx].fc4_type;
 
                                new_fcport->nvme_flag = 0;
+                               new_fcport->fc4f_nvme = 0;
                                if (vha->flags.nvme_enabled &&
                                    swl[swl_idx].fc4f_nvme) {
                                        new_fcport->fc4f_nvme =