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

Skip to content
Commit c456dce3 authored by Manoj Prabhu B's avatar Manoj Prabhu B Committed by Gerrit - the friendly Code Review server
Browse files

diag: Avoid reallocating if buffer supports hdlc max pkt size



Instead of reallocating memory every time max pkt size for
hdlc encoding exceeds peripheral buffer size of 16K, reallocate
32k buffer once and reuse it.

Change-Id: I89ee577f2159dd68005447d12d8495f028b07d97
Signed-off-by: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent fe245fe8
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