aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/be2iscsi/be_main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index 0fae26468a09..26d7016492da 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -3546,6 +3546,11 @@ static int beiscsi_mtask(struct iscsi_task *task)
3546 else 3546 else
3547 AMAP_SET_BITS(struct amap_iscsi_wrb, type, pwrb, 3547 AMAP_SET_BITS(struct amap_iscsi_wrb, type, pwrb,
3548 INI_RD_CMD); 3548 INI_RD_CMD);
3549 if (task->hdr->ttt == ISCSI_RESERVED_TAG)
3550 AMAP_SET_BITS(struct amap_iscsi_wrb, dmsg, pwrb, 0);
3551 else
3552 AMAP_SET_BITS(struct amap_iscsi_wrb, dmsg, pwrb, 1);
3553
3549 hwi_write_buffer(pwrb, task); 3554 hwi_write_buffer(pwrb, task);
3550 break; 3555 break;
3551 case ISCSI_OP_TEXT: 3556 case ISCSI_OP_TEXT:
@@ -3554,6 +3559,7 @@ static int beiscsi_mtask(struct iscsi_task *task)
3554 else 3559 else
3555 AMAP_SET_BITS(struct amap_iscsi_wrb, type, pwrb, 3560 AMAP_SET_BITS(struct amap_iscsi_wrb, type, pwrb,
3556 INI_WR_CMD); 3561 INI_WR_CMD);
3562 AMAP_SET_BITS(struct amap_iscsi_wrb, dmsg, pwrb, 0);
3557 AMAP_SET_BITS(struct amap_iscsi_wrb, dsp, pwrb, 1); 3563 AMAP_SET_BITS(struct amap_iscsi_wrb, dsp, pwrb, 1);
3558 hwi_write_buffer(pwrb, task); 3564 hwi_write_buffer(pwrb, task);
3559 break; 3565 break;