Skip to content
Commit 74735e14 authored by Ren Chen's avatar Ren Chen Committed by github-actions[bot]
Browse files

drivers: i3c: shell: fix the judgement/argc count for getstatus/ibi tir



The errno for format 2 of the getstatus ccc always returns an error.
The check for the invalid defining byte should use the "AND" operation
instead of "OR." Additionally, the first byte of the ibi tir sending
request is ignored due to the incorrect argument count.
This commit fixes both issues.

Signed-off-by: default avatarRen Chen <Ren.Chen@ite.com.tw>
(cherry picked from commit 20dbf4d7)
parent 9511aac2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment