Skip to content

Commit cb7965a

Browse files
Thalleykartben
authored andcommitted
Bluetooth: BAP: Sink: Remove LOG_WRN for started/stopped
Removed the LOG_WRN if the started or stopped callback for streams are not set. The reasoning is that there is also the group-wide started and stopped callbacks, and an application may want to use those instead of the per-stream callbacks. Signed-off-by: Emil Gydesen <[email protected]>
1 parent 2337205 commit cb7965a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

subsys/bluetooth/audio/bap_broadcast_sink.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,6 @@ static void broadcast_sink_iso_connected(struct bt_iso_chan *chan)
383383

384384
if (ops != NULL && ops->started != NULL) {
385385
ops->started(stream);
386-
} else {
387-
LOG_WRN("No callback for started set");
388386
}
389387

390388
if (broadcast_sink_is_in_state(sink, BT_BAP_EP_STATE_STREAMING)) {
@@ -432,8 +430,6 @@ static void broadcast_sink_iso_disconnected(struct bt_iso_chan *chan,
432430

433431
if (ops != NULL && ops->stopped != NULL) {
434432
ops->stopped(stream, reason);
435-
} else {
436-
LOG_WRN("No callback for stopped set");
437433
}
438434
}
439435

0 commit comments

Comments
 (0)