LE Audio: bt_bap_broadcast_sink_cb.syncable should provide the BIGInfo
Modify bt_bap_broadcast_sink_cb.syncable to provide the BIGInfo instead of just the encryption field. Signed-off-by: Chang An <chang.an_1@nxp.com>
This commit is contained in:
parent
a96293b093
commit
3605d57ae1
10 changed files with 17 additions and 17 deletions
|
@ -238,10 +238,10 @@ static void base_recv_cb(struct bt_bap_broadcast_sink *sink, const struct bt_bap
|
|||
SET_FLAG(flag_base_received);
|
||||
}
|
||||
|
||||
static void syncable_cb(struct bt_bap_broadcast_sink *sink, bool encrypted)
|
||||
static void syncable_cb(struct bt_bap_broadcast_sink *sink, const struct bt_iso_biginfo *biginfo)
|
||||
{
|
||||
printk("Broadcast sink %p syncable with%s encryption\n",
|
||||
sink, encrypted ? "" : "out");
|
||||
sink, biginfo->encryption ? "" : "out");
|
||||
SET_FLAG(flag_syncable);
|
||||
}
|
||||
|
||||
|
|
|
@ -150,10 +150,10 @@ static void base_recv_cb(struct bt_bap_broadcast_sink *sink, const struct bt_bap
|
|||
SET_FLAG(flag_base_received);
|
||||
}
|
||||
|
||||
static void syncable_cb(struct bt_bap_broadcast_sink *sink, bool encrypted)
|
||||
static void syncable_cb(struct bt_bap_broadcast_sink *sink, const struct bt_iso_biginfo *biginfo)
|
||||
{
|
||||
printk("Broadcast sink %p syncable with%s encryption\n",
|
||||
sink, encrypted ? "" : "out");
|
||||
sink, biginfo->encryption ? "" : "out");
|
||||
SET_FLAG(flag_syncable);
|
||||
}
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ static void base_recv_cb(struct bt_bap_broadcast_sink *sink, const struct bt_bap
|
|||
k_sem_give(&sem_base_received);
|
||||
}
|
||||
|
||||
static void syncable_cb(struct bt_bap_broadcast_sink *sink, bool encrypted)
|
||||
static void syncable_cb(struct bt_bap_broadcast_sink *sink, const struct bt_iso_biginfo *biginfo)
|
||||
{
|
||||
k_sem_give(&sem_syncable);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue