aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_bsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_bsg.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_bsg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_bsg.c b/drivers/scsi/qla2xxx/qla_bsg.c
index d551ae19d4e1..518fccfbfdb2 100644
--- a/drivers/scsi/qla2xxx/qla_bsg.c
+++ b/drivers/scsi/qla2xxx/qla_bsg.c
@@ -1259,6 +1259,13 @@ qla24xx_iidma(struct fc_bsg_job *bsg_job)
1259 return -EINVAL; 1259 return -EINVAL;
1260 } 1260 }
1261 1261
1262 if (fcport->flags & FCF_LOGIN_NEEDED) {
1263 DEBUG2(printk(KERN_ERR "%s(%ld): Remote port not logged in, "
1264 "flags = 0x%x\n",
1265 __func__, vha->host_no, fcport->flags));
1266 return -EINVAL;
1267 }
1268
1262 if (port_param->mode) 1269 if (port_param->mode)
1263 rval = qla2x00_set_idma_speed(vha, fcport->loop_id, 1270 rval = qla2x00_set_idma_speed(vha, fcport->loop_id,
1264 port_param->speed, mb); 1271 port_param->speed, mb);