Skip to content

Commit 715478f

Browse files
Thalleyfabiobaltieri
authored andcommitted
Bluetooth: Shell: Add log of error code from bt_audio_stream_qos
Print the error code from calling bt_audio_stream_qos if it fails. Signed-off-by: Emil Gydesen <[email protected]>
1 parent a5ce3da commit 715478f

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
@@ -813,7 +813,7 @@ static int cmd_qos(const struct shell *sh, size_t argc, char *argv[])
813813

814814
err = bt_audio_stream_qos(default_conn, default_unicast_group);
815815
if (err) {
816-
shell_error(sh, "Unable to setup QoS");
816+
shell_error(sh, "Unable to setup QoS: %d", err);
817817
return -ENOEXEC;
818818
}
819819

0 commit comments

Comments
 (0)