OSDN Git Service

audio/AVRCP: Fix not setting browsing feature in CT record
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 29 Jul 2013 14:04:35 +0000 (17:04 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 30 Jul 2013 09:52:21 +0000 (12:52 +0300)
The record already contain the additional protocol containing the
browsing channel but the feature is not set as it is supposed to.

profiles/audio/avrcp.c

index b2135c5..32b9615 100644 (file)
@@ -270,7 +270,8 @@ static sdp_record_t *avrcp_ct_record(void)
        uint16_t feat = ( AVRCP_FEATURE_CATEGORY_1 |
                                                AVRCP_FEATURE_CATEGORY_2 |
                                                AVRCP_FEATURE_CATEGORY_3 |
-                                               AVRCP_FEATURE_CATEGORY_4 );
+                                               AVRCP_FEATURE_CATEGORY_4 |
+                                               AVRCP_FEATURE_BROWSING);
 
        record = sdp_record_alloc();
        if (!record)