diff --git a/samples/bluetooth/broadcast_config_tool/src/main.c b/samples/bluetooth/broadcast_config_tool/src/main.c index a67517bb43f..3bd77cd2c2a 100644 --- a/samples/bluetooth/broadcast_config_tool/src/main.c +++ b/samples/bluetooth/broadcast_config_tool/src/main.c @@ -946,6 +946,12 @@ static int big_enable(const struct shell *shell, uint8_t big_index) return -EINVAL; } + if (broadcast_source_is_streaming(big_index)) { + LOG_WRN("BIG %d is already streaming", big_index); + /* Do not return error code as this might be called from a for-loop */ + return 0; + } + ret = broadcast_source_enable(&broadcast_param[big_index], big_index); if (ret) { shell_error(shell, "Failed to enable broadcaster: %d", ret);