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:
a98b180
)
tools/l2cap-tester: Make setup_powered_server() enable LE advertising when necessary
author
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 24 Sep 2013 13:11:00 +0000
(16:11 +0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 3 Oct 2013 11:27:49 +0000
(14:27 +0300)
tools/l2cap-tester.c
patch
|
blob
|
history
diff --git
a/tools/l2cap-tester.c
b/tools/l2cap-tester.c
index
706da5e
..
802c0e4
100644
(file)
--- a/
tools/l2cap-tester.c
+++ b/
tools/l2cap-tester.c
@@
-400,6
+400,8
@@
static void setup_powered_server(const void *test_data)
} else {
mgmt_send(data->mgmt, MGMT_OP_SET_LE, data->mgmt_index,
sizeof(param), param, NULL, NULL, NULL);
+ mgmt_send(data->mgmt, MGMT_OP_SET_ADVERTISING, data->mgmt_index,
+ sizeof(param), param, NULL, NULL, NULL);
}
mgmt_send(data->mgmt, MGMT_OP_SET_POWERED, data->mgmt_index,