From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> Until we move to queue we shall use server->sessions, this will be changed in the following patches. --- profiles/audio/avdtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c index f3d4087..926f01c 100644 --- a/profiles/audio/avdtp.c +++ b/profiles/audio/avdtp.c @@ -2394,7 +2394,7 @@ struct avdtp *avdtp_new(struct avdtp_server *server, GSList *sessions, session->version = get_version(session); - sessions = g_slist_append(sessions, session); + server->sessions = g_slist_append(server->sessions, session); if (!chan) return session; -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html