soc: qcom: tracer_pkt: Fix buffer length check
The logic to truncate packets if the size is too long was off by one.
Fix the conditional logic for checking lengths.
CRs-Fixed: 2121368
Change-Id: I908bd0a1ab78dea439056dbcd12eb158b2789e4a
Signed-off-by: Chris Lew <clew@codeaurora.org>
Loading
Please register or sign in to comment