Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
lf
build
Commits
5acf66ae
Commit
5acf66ae
authored
12 years ago
by
Linux Build Service Account
Committed by
Gerrit - the friendly Code Review server
12 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Remove OPP L2cap SDP record"
parents
a428af23
e53e96eb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patch/ics_strawberry/external/bluetooth/bluez/0001-Remove-OPP-L2cap-SDP-record.patch
+51
-0
51 additions, 0 deletions
...al/bluetooth/bluez/0001-Remove-OPP-L2cap-SDP-record.patch
with
51 additions
and
0 deletions
patch/ics_strawberry/external/bluetooth/bluez/0001-Remove-OPP-L2cap-SDP-record.patch
0 → 100644
+
51
−
0
View file @
5acf66ae
From 84c240f62c65ecf14535b8c76d3c699d6a2b53a0 Mon Sep 17 00:00:00 2001
From: Greg Grisco <ggrisco@codeaurora.org>
Date: Fri, 1 Mar 2013 08:33:01 -0800
Subject: [PATCH] Remove OPP L2cap SDP record
FFOS does not support OBEX over L2cap so the SDP record should not
advertise this capability.
CRs-fixed: 456252
Change-Id: I3c6f117210e150c2bb1fe57c64736f97cd6572ba
---
src/adapter.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/src/adapter.c b/src/adapter.c
index 1eecd45..8d5e42e 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2860,8 +2860,6 @@
static int add_opush_record(struct btd_adapter *adapter)
sdp_record_t *record;
uint8_t u8 = 12;
sdp_data_t *channel;
- uint16_t psm = 0x1487;
- sdp_data_t *goepsm = NULL;
#ifdef ANDROID
uint8_t formats[] = { 0x01, 0x02, 0xff };
#else
@@ -2885,7 +2883,7 @@
static int add_opush_record(struct btd_adapter *adapter)
sdp_set_service_classes(record, svclass_id);
sdp_uuid16_create(&profile[0].uuid, OBEX_OBJPUSH_PROFILE_ID);
- profile[0].version = 0x0102;
+ profile[0].version = 0x0100;
pfseq = sdp_list_append(0, profile);
sdp_set_profile_descs(record, pfseq);
@@ -2902,10 +2900,6 @@
static int add_opush_record(struct btd_adapter *adapter)
sdp_uuid16_create(&obex_uuid, OBEX_UUID);
proto[2] = sdp_list_append(0, &obex_uuid);
apseq = sdp_list_append(apseq, proto[2]);
- goepsm = sdp_data_alloc(SDP_UINT16, &psm);
- if(goepsm){
- sdp_attr_add(record, SDP_ATTR_GOEP_L2CAP_PSM, goepsm);
- }
aproto = sdp_list_append(0, apseq);
sdp_set_access_protos(record, aproto);
--
1.7.8.3
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment