Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_packages_modules_Bluetooth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LMODroid
platform_packages_modules_Bluetooth
Commits
d44e618e
Commit
d44e618e
authored
6 years ago
by
Jakub Pawlowski
Committed by
android-build-merger
6 years ago
Browse files
Options
Downloads
Plain Diff
Call btm_ble_set_conn_st before on_connection_complete am:
7fd3b7f3
am:
f56c5214
am:
33774dda
Change-Id: I7cdf9fa0b435c35f74f3fbadde1bbd0b814d145b
parents
b1ccf0d8
33774dda
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
system/stack/btm/btm_ble.cc
+4
-0
4 additions, 0 deletions
system/stack/btm/btm_ble.cc
system/stack/l2cap/l2c_ble.cc
+0
-1
0 additions, 1 deletion
system/stack/l2cap/l2c_ble.cc
with
4 additions
and
1 deletion
system/stack/btm/btm_ble.cc
+
4
−
0
View file @
d44e618e
...
...
@@ -1958,6 +1958,10 @@ void btm_ble_conn_complete(uint8_t* p, UNUSED_ATTR uint16_t evt_len,
}
#endif
if
(
role
==
HCI_ROLE_MASTER
)
{
btm_ble_set_conn_st
(
BLE_CONN_IDLE
);
}
gatt
::
connection_manager
::
on_connection_complete
(
bda
);
btm_ble_connected
(
bda
,
handle
,
HCI_ENCRYPT_MODE_DISABLED
,
role
,
bda_type
,
match
);
...
...
This diff is collapsed.
Click to expand it.
system/stack/l2cap/l2c_ble.cc
+
0
−
1
View file @
d44e618e
...
...
@@ -285,7 +285,6 @@ void l2cble_conn_comp(uint16_t handle, uint8_t role, const RawAddress& bda,
__func__
,
handle
,
type
,
conn_interval
,
conn_latency
,
conn_timeout
);
if
(
role
==
HCI_ROLE_MASTER
)
{
btm_ble_set_conn_st
(
BLE_CONN_IDLE
);
l2cb
.
is_ble_connecting
=
false
;
}
...
...
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