projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
298393c
)
bap: Remove duplicated code
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 28 Aug 2023 19:28:32 +0000
(12:28 -0700)
committer
Ayush Garg
<ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000
(19:04 +0530)
bap_create_io already handle streams of differents types.
profiles/audio/bap.c
patch
|
blob
|
history
diff --git
a/profiles/audio/bap.c
b/profiles/audio/bap.c
index 4441ebc76e4e369787b7d81ce58067f459ff432e..cc25eff5b7c1d5b2ade9ca4d0fb84ee6311c7a14 100644
(file)
--- a/
profiles/audio/bap.c
+++ b/
profiles/audio/bap.c
@@
-1716,11
+1716,6
@@
static void bap_state(struct bt_bap_stream *stream, uint8_t old_state,
break;
case BT_BAP_STREAM_STATE_CONFIG:
if (ep && !ep->id) {
- if
- (bt_bap_pac_get_type(ep->lpac) == BT_BAP_BCAST_SINK) {
- bap_create_bcast_io(data, ep, stream, true);
- return;
- }
bap_create_io(data, ep, stream, true);
if (!ep->io) {
error("Unable to create io");