OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1abfd19
)
emulator/btdev: Fix not disabling le advertising on connection
author
Jakub Tyszkowski
<jakub.tyszkowski@tieto.com>
Mon, 25 Aug 2014 11:08:52 +0000
(13:08 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 1 Sep 2014 12:18:11 +0000
(15:18 +0300)
Le Advertising should be disabled after the le connection is
established (Core Spec. 4.1 - Part E, Sec. 7.8.9). Not doing so
results in errors while switching advertisement multiple times during
different connection states.
emulator/btdev.c
patch
|
blob
|
history
diff --git
a/emulator/btdev.c
b/emulator/btdev.c
index
b09f8cb
..
86fd3d9
100644
(file)
--- a/
emulator/btdev.c
+++ b/
emulator/btdev.c
@@
-1023,6
+1023,7
@@
static void le_conn_complete(struct btdev *btdev,
btdev->conn = remote;
remote->conn = btdev;
+ remote->le_adv_enable = 0;
cc->status = status;
cc->peer_addr_type = btdev->le_scan_own_addr_type;