bap: Fix not removing endpoint if local PAC is unregistered
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 24 Jan 2023 23:45:39 +0000 (15:45 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:11:34 +0000 (15:41 +0530)
commit2da24029356352266ca1c9404ea7fdf73c1173d8
tree6ca61096e749b1c91d67896504a041a19432ead1
parent0696e0c92da395fcfea9c175f5356b430b2404ad
bap: Fix not removing endpoint if local PAC is unregistered

If local PAC is unregistered it would also notify via pac_removed
callback which shall unregister the endpoint D-Bus object.

Fixes: https://github.com/bluez/bluez/issues/457#issuecomment-1402178691
profiles/audio/bap.c