Return-Path: Subject: Re: [PATCH] Modify PBAP SDP record. From: Marcel Holtmann To: Jaikumar Ganesh Cc: linux-bluetooth@vger.kernel.org, Zhu Lan In-Reply-To: <1249588984-9043-1-git-send-email-jaikumar@google.com> References: <1249588984-9043-1-git-send-email-jaikumar@google.com> Content-Type: text/plain Date: Thu, 06 Aug 2009 13:09:41 -0700 Message-Id: <1249589381.21101.22.camel@localhost.localdomain> Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Jaikumar, > Fix to pass PTS case TC_SDAS_BV_03_I(since PTS3.2 update2). > The code tried to append the UINT type value to the supported > respositories. However, the wrong function sdp_seq_alloc() > was used. This function adds 2 redundant bytes (SDP_SEQ8 as > 0x35, seq) ahead of 0x08, so that latest PTS IOPT will fail. > According to spec, PBAP attributes should report 0x08 0x01 > or 0x08 0x03 right after 0x0314. The correct function to use > is sdp_data_alloc(), with clean 0x08 0x01 appended as > SDP_ATTR_SUPPORTED_REPOSITORIES. > --- > tools/sdptool.c | 9 ++------- > 1 files changed, 2 insertions(+), 7 deletions(-) can I get a version of this patch that applies cleanly when using git am please. Regards Marcel