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

Commit ff393e27 authored by Ravi Aravamudhan's avatar Ravi Aravamudhan
Browse files

diag: Do not add duplicate buffers to list in MEMORY_DEVICE_MODE



Diag maintains a buffer table in MEMORY_DEVICE_MODE for draining data
to userspace. Ensure that there are no duplicates while adding buffers
to this table. Also, remove an instance where the buffer used value
is incorrectly set as 0.

Change-Id: Idcfaed210ebb085b5086883375a2655dede10ba2
Signed-off-by: default avatarRavi Aravamudhan <aravamud@codeaurora.org>
parent 3350499c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment