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

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

Merge "diag: Read the DIAG_CMD channel until there is data available"

parents eb56bc98 11016149
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -654,7 +654,9 @@ void diag_smd_send_req(struct diag_smd_info *smd_info)
			}
		}

		if (smd_info->type != SMD_CNTL_TYPE || buf_full)
		if ((smd_info->type != SMD_CNTL_TYPE &&
				smd_info->type != SMD_CMD_TYPE)
					|| buf_full)
			break;

		}