From cc8c8bccd636e0a064721a30e45da9f7747eccf7 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 17 Dec 2014 14:02:22 +0200 Subject: [PATCH] mgmt-tester: Add test paramter to enable client (bthost) LE support --- tools/mgmt-tester.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 0e3776953..9dd57c906 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -402,6 +402,7 @@ struct generic_data { bool reject_confirm; bool client_reject_confirm; bool just_works; + bool client_enable_le; bool client_enable_sc; bool expect_sc_key; bool force_power_off; @@ -4045,6 +4046,9 @@ static void test_setup(const void *test_data) if (test->client_reject_confirm) bthost_set_reject_user_confirm(bthost, true); + if (test->client_enable_le) + bthost_write_le_host_supported(bthost, 0x01); + if (test->client_enable_sc) bthost_set_sc_support(bthost, 0x01); -- 2.47.3