* [PATCH 0/1] Fix valgrind error report
@ 2011-02-24 18:50 Brian Gix
2011-02-24 18:50 ` [PATCH 1/1] Remove unneeded Service ID from service SDP record Brian Gix
0 siblings, 1 reply; 3+ messages in thread
From: Brian Gix @ 2011-02-24 18:50 UTC (permalink / raw)
To: linux-bluetooth
I don't have valgrind, but the error was pretty straight forward, and this should fix it.
--
Brian Gix
bgix@codeaurora.org
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] Remove unneeded Service ID from service SDP record
2011-02-24 18:50 [PATCH 0/1] Fix valgrind error report Brian Gix
@ 2011-02-24 18:50 ` Brian Gix
2011-02-24 22:01 ` Johan Hedberg
0 siblings, 1 reply; 3+ messages in thread
From: Brian Gix @ 2011-02-24 18:50 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Brian Gix
---
src/attrib-server.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/attrib-server.c b/src/attrib-server.c
index 7ec0f56..08a9b23 100644
--- a/src/attrib-server.c
+++ b/src/attrib-server.c
@@ -89,7 +89,7 @@ static uuid_t snd_uuid = {
static sdp_record_t *server_record_new(uuid_t *uuid, uint16_t start, uint16_t end)
{
sdp_list_t *svclass_id, *apseq, *proto[2], *root, *aproto;
- uuid_t root_uuid, proto_uuid, gatt_uuid, l2cap;
+ uuid_t root_uuid, proto_uuid, l2cap;
sdp_record_t *record;
sdp_data_t *psm, *sh, *eh;
uint16_t lp = GATT_PSM;
@@ -130,8 +130,6 @@ static sdp_record_t *server_record_new(uuid_t *uuid, uint16_t start, uint16_t en
aproto = sdp_list_append(NULL, apseq);
sdp_set_access_protos(record, aproto);
- sdp_set_service_id(record, gatt_uuid);
-
sdp_data_free(psm);
sdp_data_free(sh);
sdp_data_free(eh);
--
1.7.1
--
Brian Gix
bgix@codeaurora.org
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] Remove unneeded Service ID from service SDP record
2011-02-24 18:50 ` [PATCH 1/1] Remove unneeded Service ID from service SDP record Brian Gix
@ 2011-02-24 22:01 ` Johan Hedberg
0 siblings, 0 replies; 3+ messages in thread
From: Johan Hedberg @ 2011-02-24 22:01 UTC (permalink / raw)
To: Brian Gix; +Cc: linux-bluetooth
Hi Brian,
On Thu, Feb 24, 2011, Brian Gix wrote:
> ---
> src/attrib-server.c | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
Pushed upstream. Thanks.
Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-24 22:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 18:50 [PATCH 0/1] Fix valgrind error report Brian Gix
2011-02-24 18:50 ` [PATCH 1/1] Remove unneeded Service ID from service SDP record Brian Gix
2011-02-24 22:01 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).