Diff between a5a7404d4c38cec5e3694b8987c9d940d0225a50 and cc8c8bccd636e0a064721a30e45da9f7747eccf7

Changed Files

File Additions Deletions Status
tools/mgmt-tester.c +4 -0 modified

Full Patch

diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
index 0e37769..9dd57c9 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);