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

Commit 9ae21283 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "diag: Send response for download mode command"

parents e1913234 45c1dc1a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -839,7 +839,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;