diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index ed436de..92477ae 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
if (target == NULL)
continue;
- if (target->player == player)
- target->player = g_slist_nth_data(server->players, 0);
+ if (target->player != player)
+ continue;
+
+ target->player = g_slist_nth_data(server->players, 0);
+ if (target->player)
+ target->player->sessions = g_slist_append(
+ target->player->sessions,
+ session);
}
avrcp_player_event(player,