From dc8ca1797bb9e59967773315decdcf806c1dc725 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 21 Apr 2023 16:54:32 +0200 Subject: [PATCH] avrcp: store cover art psm in connection --- src/classic/avrcp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/classic/avrcp.c b/src/classic/avrcp.c index ebf96348e..b633606b5 100644 --- a/src/classic/avrcp.c +++ b/src/classic/avrcp.c @@ -808,6 +808,9 @@ static void avrcp_handle_sdp_query_completed(avrcp_connection_t * connection, ui connection->avrcp_l2cap_psm = avrcp_sdp_query_context.avrcp_l2cap_psm; connection->browsing_version = avrcp_sdp_query_context.browsing_version; connection->browsing_l2cap_psm = avrcp_sdp_query_context.browsing_l2cap_psm; +#ifdef ENABLE_AVRCP_COVER_ART + connection->cover_art_psm = avrcp_sdp_query_context.cover_art_l2cap_psm; +#endif } // SDP Signaling Query?