Linux bluetooth development
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 3/7] audio/AVRCP: Fix not setting browsing feature in CT record
Date: Mon, 29 Jul 2013 17:04:35 +0300	[thread overview]
Message-ID: <1375106679-14645-3-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1375106679-14645-1-git-send-email-luiz.dentz@gmail.com>

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index b2135c5..32b9615 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -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)
-- 
1.8.3.1


  parent reply	other threads:[~2013-07-29 14:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-29 14:04 [PATCH BlueZ 1/7] audio/AVRCP: Fix memory leaks Luiz Augusto von Dentz
2013-07-29 14:04 ` [PATCH BlueZ 2/7] audio/AVRCP: Fix not connecting Browsing channel when supported Luiz Augusto von Dentz
2013-07-29 14:04 ` Luiz Augusto von Dentz [this message]
2013-07-29 14:04 ` [PATCH BlueZ 4/7] audio/AVRCP: Connect browsing channel when accepting the connection Luiz Augusto von Dentz
2013-07-29 14:04 ` [PATCH BlueZ 5/7] audio/AVRCP: Connect browsing channel in case of GetCapabilities response Luiz Augusto von Dentz
2013-07-29 14:04 ` [PATCH BlueZ 6/7] audio/AVCTP: Fix connecting browsing channel multiple times Luiz Augusto von Dentz
2013-07-29 14:04 ` [PATCH BlueZ 7/7] audio/AVCTP: Do not process browsing queue until connection completes Luiz Augusto von Dentz
2013-07-30  9:54 ` [PATCH BlueZ 1/7] audio/AVRCP: Fix memory leaks Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375106679-14645-3-git-send-email-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox