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

Commit 173db0eb authored by Katish Paran's avatar Katish Paran Committed by Gerrit - the friendly Code Review server
Browse files

diag: Rectify the recovery algorithm in case for raw packet



Currently, while receiving packet in hdlc disabled format, it may
happen that the terminating control character is missing. In that
case the recovery algorithm may hit into infinite loop. This
patch rectifies the error condition.

Change-Id: I50861b94599d50c108cd41c765690b3f6ee0823c
Signed-off-by: default avatarKatish Paran <kparan@codeaurora.org>
parent cc699d74
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