Skip to content

Commit 69a9ae6

Browse files
finikorgfabiobaltieri
authored andcommitted
bluetooth: shell: Fix using wrong field
Fix using data instead of meta field. Signed-off-by: Andrei Emeltchenko <[email protected]>
1 parent 8f4d8c5 commit 69a9ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/shell/audio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ static void print_codec(const struct bt_codec *codec)
381381
codec->meta[i].data.type,
382382
codec->meta[i].data.data_len);
383383
shell_hexdump(ctx_shell, codec->meta[i].data.data,
384-
codec->data[i].data.data_len -
384+
codec->meta[i].data.data_len -
385385
sizeof(codec->meta[i].data.type));
386386
}
387387
}

0 commit comments

Comments
 (0)