summaryrefslogtreecommitdiff
path: root/tools/smp-tester.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-03-14 12:53:50 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-03-14 12:53:50 +0200
commitd8f265bd986609f55fe275518f3d5743b164d96c (patch)
tree53c62e5efe8a61d9c692b38a1712d7ec6ed5782d /tools/smp-tester.c
parent8cf50c848aa6aa1ec99535e812d566dbcb5832eb (diff)
downloadbluez-d8f265bd986609f55fe275518f3d5743b164d96c.tar.gz
tools/smp-tester: Fix setting connectable for server tests
Diffstat (limited to 'tools/smp-tester.c')
-rw-r--r--tools/smp-tester.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/smp-tester.c b/tools/smp-tester.c
index 71af59eb8..d81266394 100644
--- a/tools/smp-tester.c
+++ b/tools/smp-tester.c
@@ -852,6 +852,8 @@ static void setup_powered_server(const void *test_data)
sizeof(param), param, NULL, NULL, NULL);
mgmt_send(data->mgmt, MGMT_OP_SET_PAIRABLE, data->mgmt_index,
sizeof(param), param, NULL, NULL, NULL);
+ mgmt_send(data->mgmt, MGMT_OP_SET_CONNECTABLE, 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,