Skip to content

Commit f149118

Browse files
Thalleykartben
authored andcommitted
Bluetooth: BAP: Source: 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 cb7965a commit f149118

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

subsys/bluetooth/audio/bap_broadcast_source.c

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

204204
if (ops != NULL && ops->started != NULL) {
205205
ops->started(stream);
206-
} else {
207-
LOG_WRN("No callback for started set");
208206
}
209207
}
210208

@@ -237,8 +235,6 @@ static void broadcast_source_iso_disconnected(struct bt_iso_chan *chan, uint8_t
237235

238236
if (ops != NULL && ops->stopped != NULL) {
239237
ops->stopped(stream, reason);
240-
} else {
241-
LOG_WRN("No callback for stopped set");
242238
}
243239
}
244240

0 commit comments

Comments
 (0)