Diff between 3ef0ce954b66fdf45538a6cdc629f3dac6642832 and 1f6a90d5b35d05ba6466acc6c3dd71b9ca7c693c

Changed Files

File Additions Deletions Status
profiles/audio/avctp.c +2 -0 modified

Full Patch

diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
index 5f8625c..0b4c80e 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
@@ -1534,6 +1534,8 @@ static void avctp_browsing_confirm(struct avctp *session, GIOChannel *chan,
 	if (bt_io_accept(chan, avctp_connect_browsing_cb, session, NULL,
 								&err)) {
 		avctp_set_state(session, AVCTP_STATE_BROWSING_CONNECTING, 0);
+		session->browsing = avctp_channel_create(session, chan, 1,
+							avctp_destroy_browsing);
 		return;
 	}