summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_iscsi.c
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohank@serverengines.com>2010-01-23 01:06:10 +0100
committerJames Bottomley <James.Bottomley@suse.de>2010-02-09 01:34:11 +0100
commit230dceb4316da9c8e05c82b64f2527aee95da2ff (patch)
tree393a1344de9b332bae1b5bb234166aaef929c55f /drivers/scsi/be2iscsi/be_iscsi.c
parent[SCSI] be2iscsi: changing copyright to 2010 (diff)
downloadlinux-230dceb4316da9c8e05c82b64f2527aee95da2ff.tar.xz
linux-230dceb4316da9c8e05c82b64f2527aee95da2ff.zip
[SCSI] be2iscsi: Fix for first_burst
This patch fixes the first_burst being modified instead of max_burst Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_iscsi.c')
-rw-r--r--drivers/scsi/be2iscsi/be_iscsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers/scsi/be2iscsi/be_iscsi.c
index 3847a587d2a8..d5712bc19a71 100644
--- a/drivers/scsi/be2iscsi/be_iscsi.c
+++ b/drivers/scsi/be2iscsi/be_iscsi.c
@@ -274,8 +274,8 @@ int beiscsi_set_param(struct iscsi_cls_conn *cls_conn,
conn->max_recv_dlength = 65536;
break;
case ISCSI_PARAM_MAX_BURST:
- if (session->first_burst > 262144)
- session->first_burst = 262144;
+ if (session->max_burst > 262144)
+ session->max_burst = 262144;
break;
default:
return 0;