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

Commit d92c6fed authored by Ravi Aravamudhan's avatar Ravi Aravamudhan Committed by Matt Wagantall
Browse files

diag: Stop reading from peripherals during close



While switching logging modes there is a possibility that the previous
read queued to the transport layer may still be pending. This read
should be cancelled before closing the channel. Otherwise, while
opening the channel again, we may queue the same buffer twice for
reading.

Change-Id: Ic5fb7713876e245bcc3260a9e67e35e611cd93a4
Signed-off-by: default avatarRavi Aravamudhan <aravamud@codeaurora.org>
parent d371440a
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