Fix endpoint unregister command for BAP broadcast source before fix endpoint is not deleted: endpoint.register 00001852-0000-1000-8000-00805f9b34fb 0x065f9b34fb 0x06 [/local/endpoint/ep0] Auto Accept (yes/no): y [/local/endpoint/ep0] Max Transports (auto/value): a [/local/endpoint/ep0] Locations: 3 [/local/endpoint/ep0] Supported Context (value): 0 Capabilities: 03 01 ff 00 02 02 03 02 03 03 05 04 1a 00 f0 00 ................ Metadata: [bluetooth]# [NEW] Endpoint /org/bluez/hci0/pac_bcast0 [bluetooth]# Endpoint /local/endpoint/ep0 registered [bluetooth]# endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/ep0 48_4endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/ep0 48_4_1 [/local/endpoint/ep0] BIG (auto/value): 0 [/local/endpoint/ep0] Enter channel location (value/no): 1 [/local/endpoint/ep0] Enter Metadata (value/no): n ................. [bluetooth]# [NEW] Transport /org/bluez/hci0/pac_bcast0/fd0 [bluetooth]# Endpoint: SetConfiguration [bluetooth]# Transport /org/bluez/hci0/pac_bcast0/fd0 [bluetooth]# Properties.Device: /org/bluez/hci0 [bluetooth]# Auto Accepting... [bluetooth]# Endpoint /local/endpoint/ep0 configured endpoint.unregister 00001852-0000-1000-8000-00805f9b34fb-00805f9b34fb [bluetooth]# [DEL] Transport /org/bluez/hci0/pac_bcast0/fd0 [bluetooth]# Endpoint /local/endpoint/ep0 unregistered after fix endpoint is deleted: [bluetooth]# [CHG] Controller 00:AA:01:00:00:00 Pairable: yes [bluetooth]# AdvertisementMonitor path registered endpoint.register 00001852-0000-1000-8000-00805f9b34fb 0x065f9b34fb 0x06 [/local/endpoint/ep0] Auto Accept (yes/no): y [/local/endpoint/ep0] Max Transports (auto/value): a [/local/endpoint/ep0] Locations: 3 [/local/endpoint/ep0] Supported Context (value): 0 Capabilities: 03 01 ff 00 02 02 03 02 03 03 05 04 1a 00 f0 00 ................ Metadata: [bluetooth]# [NEW] Endpoint /org/bluez/hci0/pac_bcast0 [bluetooth]# Endpoint /local/endpoint/ep0 registered [bluetooth]# endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/ep0 48_4endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/ep0 48_4_1 [/local/endpoint/ep0] BIG (auto/value): 0 [/local/endpoint/ep0] Enter channel location (value/no): 1 [/local/endpoint/ep0] Enter Metadata (value/no): n ............ [bluetooth]# [NEW] Transport /org/bluez/hci0/pac_bcast0/fd0 [bluetooth]# Endpoint: SetConfiguration [bluetooth]# Transport /org/bluez/hci0/pac_bcast0/fd0 [bluetooth]# Properties.Device: /org/bluez/hci0 [bluetooth]# Auto Accepting... [bluetooth]# Endpoint /local/endpoint/ep0 configured endpoint.unregister 00001852-0000-1000-8000-00805f9b34fb-00805f9b34fb [bluetooth]# [DEL] Transport /org/bluez/hci0/pac_bcast0/fd0 [bluetooth]# [DEL] Endpoint /org/bluez/hci0/pac_bcast0 [bluetooth]# Endpoint /local/endpoint/ep0 unregistered Silviu Florian Barbulescu (1): bap: Fix endpoint unregister for BAP broadcast source profiles/audio/bap.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) base-commit: 3403f65e266a0c40ace9cecc868fa96ad3335920 -- 2.40.1