Skip to contentSkip to conversation

be2iscsi: Fix for first_burst

PATCH New Jayamohan Kallickal 1 participant 1 message Jan 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/8 be2iscsi: Fix for first_burst

This patch fixes the first_burst being modified
instead of max_burst

---
 drivers/scsi/be2iscsi/be_iscsi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/be2iscsi/be_iscsi.c +2 -2
index 3847a58..d5712bc 100644
@@ -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;
Signature · 1 line
1.6.4