From 9debd78bfaaef072ec53ef5870bfe0438622a348 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 24 Sep 2013 16:11:00 +0300 Subject: [PATCH] tools/l2cap-tester: Make setup_powered_server() enable LE advertising when necessary --- tools/l2cap-tester.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c index 706da5e7a..802c0e4b4 100644 --- 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, -- 2.11.0