We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aee576 commit aaf4d3eCopy full SHA for aaf4d3e
drivers/scsi/qla2xxx/qla_os.c
@@ -3577,9 +3577,25 @@ void qla2x00_relogin(struct scsi_qla_host *vha)
3577
continue;
3578
/* Attempt a retry. */
3579
status = 1;
3580
- } else
+ } else {
3581
status = qla2x00_fabric_login(vha,
3582
fcport, &next_loopid);
3583
+ if (status == QLA_SUCCESS) {
3584
+ int status2;
3585
+ uint8_t opts;
3586
+
3587
+ opts = 0;
3588
+ if (fcport->flags &
3589
+ FCF_FCP2_DEVICE)
3590
+ opts |= BIT_1;
3591
+ status2 =
3592
+ qla2x00_get_port_database(
3593
+ vha, fcport,
3594
+ opts);
3595
+ if (status2 != QLA_SUCCESS)
3596
+ status = 1;
3597
+ }
3598
3599
} else
3600
status = qla2x00_local_device_login(vha,
3601
fcport);
0 commit comments