bluetooth: shell: Fix using wrong field
Fix using data instead of meta field. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
8f4d8c5cce
commit
69a9ae61b4
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ static void print_codec(const struct bt_codec *codec)
|
|||
codec->meta[i].data.type,
|
||||
codec->meta[i].data.data_len);
|
||||
shell_hexdump(ctx_shell, codec->meta[i].data.data,
|
||||
codec->data[i].data.data_len -
|
||||
codec->meta[i].data.data_len -
|
||||
sizeof(codec->meta[i].data.type));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue