Skip to content
Commit 20dbf4d7 authored by Ren Chen's avatar Ren Chen Committed by Alberto Escolar
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>
parent 373771c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment