From f2b4bf71a67c52d54dd93c86f4de87ff0fed0ef0 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 6 Jun 2013 15:55:43 +0700 Subject: [PATCH] AVRCP: Fix sending SetPlayerApplicationSettingValue using notify command type The command type for SetPlayerApplicationSettingValue is control --- profiles/audio/avrcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c index 929d9e86c..715ab8f42 100644 --- a/profiles/audio/avrcp.c +++ b/profiles/audio/avrcp.c @@ -2237,7 +2237,7 @@ static void avrcp_set_player_value(struct avrcp *session, uint8_t attr, length = AVRCP_HEADER_LENGTH + ntohs(pdu->params_len); - avctp_send_vendordep_req(session->conn, AVC_CTYPE_NOTIFY, + avctp_send_vendordep_req(session->conn, AVC_CTYPE_CONTROL, AVC_SUBUNIT_PANEL, buf, length, avrcp_player_value_rsp, session); } -- 2.47.3