Diff between f3a43bd0e4af7a6b4265a6664b1bd70a2beaf29e and ea7b6910243463f475424838db7cd80113b93a4c

Changed Files

File Additions Deletions Status
profiles/audio/bap.c +6 -0 modified

Full Patch

diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c
index 3957bd5..b877e7c 100644
--- a/profiles/audio/bap.c
+++ b/profiles/audio/bap.c
@@ -1276,6 +1276,9 @@ static gboolean big_info_report_cb(GIOChannel *io, GIOCondition cond,
 		g_io_channel_shutdown(io, TRUE, NULL);
 	}
 
+	/* Notify the BASS plugin about the session. */
+	bass_bcast_probe(data->device, data->bap);
+
 	/* Analyze received BASE data and create remote media endpoints for each
 	 * BIS matching our capabilities
 	 */
@@ -3299,6 +3302,9 @@ static void bap_bcast_remove(struct btd_service *service)
 	}
 	free(req);
 
+	/* Notify the BASS plugin about the removed session. */
+	bass_bcast_remove(device);
+
 	bap_data_remove(data);
 
 	bass_remove_stream(device);