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

Commit fb87dd0f authored by Sreelakshmi Gownipalli's avatar Sreelakshmi Gownipalli
Browse files

diag: Donot drop the data in memory device mode



Copy the data from buf table in diag_md_copy_to_user() if the
userspace buffer has space. If the data copy fails then drain
the data once the userpace buf is available instead of dropping
the data.

Change-Id: I6a24b13837ce7a07ea0d6bd2954b40a776c6ae0b
Signed-off-by: default avatarSreelakshmi Gownipalli <sgownipa@codeaurora.org>
parent 095c42a3
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