Bluetooth: Audio: Use svc_inst instead of bt_csip for set_member
Use the service instance struct instead of the more generic `bt_csip` for the CSIP set member API. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
1991fcaced
commit
292db21a18
13 changed files with 246 additions and 235 deletions
|
@ -1247,7 +1247,7 @@ static ssize_t ad_init(struct bt_data *data_array, const size_t data_array_size,
|
|||
*/
|
||||
if (IS_ENABLED(CONFIG_BT_PRIVACY) &&
|
||||
IS_ENABLED(CONFIG_BT_CSIP_SET_MEMBER) &&
|
||||
csip != NULL) {
|
||||
svc_inst != NULL) {
|
||||
ad_flags |= BT_LE_AD_LIMITED;
|
||||
} else {
|
||||
ad_flags |= BT_LE_AD_GENERAL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue