Fix a wrongful set of user data with endpoint pat for the local PAC. Local pac user data is set endpoint_init_pac form media.c with the media_endpoint --- profiles/audio/bap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c index 7faa6be7f..209f21471 100644 --- a/profiles/audio/bap.c +++ b/profiles/audio/bap.c @@ -1195,8 +1195,6 @@ static struct bap_ep *ep_register_bcast(struct bap_data *data, */ if (rpac) bt_bap_pac_set_user_data(rpac, ep->path); - else - bt_bap_pac_set_user_data(lpac, ep->path); DBG("ep %p lpac %p rpac %p path %s", ep, ep->lpac, ep->rpac, ep->path); -- 2.39.2