commit | 20dbf4d7a018bb34bd2551b4235057df57ae7262 | [log] [tgz] |
---|---|---|
author | Ren Chen <Ren.Chen@ite.com.tw> | Mon Mar 03 09:24:03 2025 +0800 |
committer | Alberto Escolar <alberto.escolar.piedras@nordicsemi.no> | Fri Mar 07 20:24:04 2025 +0100 |
tree | 74e7b57a115c9a250d3e75228ca9333658ef1ec1 | |
parent | 373771c0629184224893110d0a2abd9a2b282a7a [diff] |
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: Ren Chen <Ren.Chen@ite.com.tw>