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

Commit 45c1dc1a authored by Katish Paran's avatar Katish Paran
Browse files

diag: Send response for download mode command



Currently diag doesn't send response for download command.
This patch resolves that issue.

Change-Id: I365612fdfb010597d4e75cd56cc78361ac09e7de
Signed-off-by: default avatarKatish Paran <kparan@codeaurora.org>
parent 072185c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -837,7 +837,7 @@ void encode_rsp_and_send(int buf_length)
	if (!rsp_ptr)
		return;

	if (buf_length > APPS_BUF_SIZE || buf_length <= 0) {
	if (buf_length > APPS_BUF_SIZE || buf_length < 0) {
		pr_err("diag: In %s, invalid len %d, permissible len %d\n",
					__func__, buf_length, APPS_BUF_SIZE);
		return;