aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index ebc7c2498067..89a3fc0595bb 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -2888,13 +2888,13 @@ qla2x00_fabric_login(scsi_qla_host_t *ha, fc_port_t *fcport,
2888 * 3 - Fatal error 2888 * 3 - Fatal error
2889 */ 2889 */
2890int 2890int
2891qla2x00_local_device_login(scsi_qla_host_t *ha, uint16_t loop_id) 2891qla2x00_local_device_login(scsi_qla_host_t *ha, fc_port_t *fcport)
2892{ 2892{
2893 int rval; 2893 int rval;
2894 uint16_t mb[MAILBOX_REGISTER_COUNT]; 2894 uint16_t mb[MAILBOX_REGISTER_COUNT];
2895 2895
2896 memset(mb, 0, sizeof(mb)); 2896 memset(mb, 0, sizeof(mb));
2897 rval = qla2x00_login_local_device(ha, loop_id, mb, BIT_0); 2897 rval = qla2x00_login_local_device(ha, fcport, mb, BIT_0);
2898 if (rval == QLA_SUCCESS) { 2898 if (rval == QLA_SUCCESS) {
2899 /* Interrogate mailbox registers for any errors */ 2899 /* Interrogate mailbox registers for any errors */
2900 if (mb[0] == MBS_COMMAND_ERROR) 2900 if (mb[0] == MBS_COMMAND_ERROR)