Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 230dceb4 authored by Jayamohan Kallickal's avatar Jayamohan Kallickal Committed by James Bottomley
Browse files

[SCSI] be2iscsi: Fix for first_burst



This patch fixes the first_burst being modified
instead of max_burst

Signed-off-by: default avatarJayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent d2eeb1ac
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -274,8 +274,8 @@ int beiscsi_set_param(struct iscsi_cls_conn *cls_conn,
			conn->max_recv_dlength = 65536;
			conn->max_recv_dlength = 65536;
		break;
		break;
	case ISCSI_PARAM_MAX_BURST:
	case ISCSI_PARAM_MAX_BURST:
		if (session->first_burst > 262144)
		if (session->max_burst > 262144)
			session->first_burst = 262144;
			session->max_burst = 262144;
		break;
		break;
	default:
	default:
		return 0;
		return 0;