File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5898,8 +5898,7 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *vha)
5898
5898
if (test_bit (LOOP_RESYNC_NEEDED , & vha -> dpc_flags ))
5899
5899
break ;
5900
5900
5901
- if ((fcport -> flags & FCF_FABRIC_DEVICE ) == 0 ||
5902
- (fcport -> flags & FCF_LOGIN_NEEDED ) == 0 )
5901
+ if ((fcport -> flags & FCF_FABRIC_DEVICE ) == 0 )
5903
5902
continue ;
5904
5903
5905
5904
if (fcport -> scan_state == QLA_FCPORT_SCAN ) {
@@ -5922,7 +5921,8 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *vha)
5922
5921
}
5923
5922
}
5924
5923
5925
- if (fcport -> scan_state == QLA_FCPORT_FOUND )
5924
+ if (fcport -> scan_state == QLA_FCPORT_FOUND &&
5925
+ (fcport -> flags & FCF_LOGIN_NEEDED ) != 0 )
5926
5926
qla24xx_fcport_handle_login (vha , fcport );
5927
5927
}
5928
5928
return (rval );
You can’t perform that action at this time.
0 commit comments