From 839012faf3ee7653f51cff49f5780b5518f610fa Mon Sep 17 00:00:00 2001 From: Joohi Rastogi Date: Tue, 22 May 2012 08:55:47 +0530 Subject: [PATCH] AVRCP: Add missing Player Setting feature in TG record --- audio/avrcp.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/audio/avrcp.c b/audio/avrcp.c index 356fd7696..cb6906d7e 100755 --- a/audio/avrcp.c +++ b/audio/avrcp.c @@ -98,6 +98,7 @@ #define AVRCP_FEATURE_CATEGORY_2 0x0002 #define AVRCP_FEATURE_CATEGORY_3 0x0004 #define AVRCP_FEATURE_CATEGORY_4 0x0008 +#define AVRCP_FEATURE_PLAYER_SETTINGS 0x0010 enum battery_status { BATTERY_STATUS_NORMAL = 0, @@ -254,9 +255,10 @@ static sdp_record_t *avrcp_tg_record(void) uint16_t lp = AVCTP_PSM; uint16_t avrcp_ver = 0x0104, avctp_ver = 0x0103; uint16_t feat = ( AVRCP_FEATURE_CATEGORY_1 | - AVRCP_FEATURE_CATEGORY_2 | - AVRCP_FEATURE_CATEGORY_3 | - AVRCP_FEATURE_CATEGORY_4 ); + AVRCP_FEATURE_CATEGORY_2 | + AVRCP_FEATURE_CATEGORY_3 | + AVRCP_FEATURE_CATEGORY_4 | + AVRCP_FEATURE_PLAYER_SETTINGS ); record = sdp_record_alloc(); if (!record) -- 2.47.3