--- tools/mgmt-tester.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 1078d185e..191c1cd4d 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -373,7 +373,7 @@ static void test_condition_complete(struct test_data *data) test_post_teardown, 2, user, free); \ } while (0) -#define test_le(name, data, setup, func) \ +#define test_le_full(name, data, setup, func, timeout) \ do { \ struct test_data *user; \ user = new0(struct test_data, 1); \ @@ -386,9 +386,12 @@ static void test_condition_complete(struct test_data *data) user->initial_settings = 0x00000200; \ tester_add_full(name, data, \ test_pre_setup, test_setup, func, NULL, \ - test_post_teardown, 2, user, free); \ + test_post_teardown, timeout, user, free); \ } while (0) +#define test_le(name, data, setup, func) \ + test_le_full(name, data, setup, func, 2) + static void controller_setup(const void *test_data) { tester_test_passed(); -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html