From bd960054b680687d394c691e15554f2555c1cdeb Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 18 Jul 2014 11:59:22 +0300 Subject: [PATCH] tools/mgmt-tester: Fix calling bthost_set_auth_req() twice --- tools/mgmt-tester.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 25102e309..9e15a1d11 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -3277,8 +3277,7 @@ static void test_setup(const void *test_data) if (test->client_auth_req) bthost_set_auth_req(bthost, test->client_auth_req); - - if (!test->just_works) + else if (!test->just_works) bthost_set_auth_req(bthost, 0x01); if (test->client_reject_ssp) -- 2.47.3