Diff between f5adcf9e3fb519ea758dbbe051de049ab967fc33 and bd960054b680687d394c691e15554f2555c1cdeb

Changed Files

File Additions Deletions Status
tools/mgmt-tester.c +1 -2 modified

Full Patch

diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
index 25102e3..9e15a1d 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)