This replaces the current implementation that uses a global bcast_pa_requestsqueue with one that runs on a per adapter basis. In order to implement this the btd_adapter field of bap_data has been replaced by a new struct, bap_adapter, which includes btd_adapter, bcast_pa_req queue and pa_timer_id. Vlad Pruteanu (4): bap: Initialize bap_data for scanned device in bap_bcast_probe bap: Replace adapter in bap_data with bap_adapter bap: Improve handling of pa_req timer bap: Remove deleted devices from pa_req queue profiles/audio/bap.c | 196 +++++++++++++++++++++++++++++-------------- 1 file changed, 131 insertions(+), 65 deletions(-) -- 2.40.1