diff options
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 18471ede7f80..0fae26468a09 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c | |||
@@ -3339,7 +3339,7 @@ static int beiscsi_alloc_pdu(struct iscsi_task *task, uint8_t opcode) | |||
3339 | goto free_hndls; | 3339 | goto free_hndls; |
3340 | } else { | 3340 | } else { |
3341 | io_task->scsi_cmnd = NULL; | 3341 | io_task->scsi_cmnd = NULL; |
3342 | if ((task->hdr->opcode & ISCSI_OPCODE_MASK) == ISCSI_OP_LOGIN) { | 3342 | if ((opcode & ISCSI_OPCODE_MASK) == ISCSI_OP_LOGIN) { |
3343 | if (!beiscsi_conn->login_in_progress) { | 3343 | if (!beiscsi_conn->login_in_progress) { |
3344 | spin_lock(&phba->mgmt_sgl_lock); | 3344 | spin_lock(&phba->mgmt_sgl_lock); |
3345 | io_task->psgl_handle = (struct sgl_handle *) | 3345 | io_task->psgl_handle = (struct sgl_handle *) |