diff mbox series

[v2,7/8] mgmt-tester: Fix failing pairing tests

Message ID 20201104234228.2257427-7-luiz.dentz@gmail.com (mailing list archive)
State Accepted
Delegated to: Luiz Von Dentz
Headers show
Series [v2,1/8] doc: Add tester.config | expand

Commit Message

Luiz Augusto von Dentz Nov. 4, 2020, 11:42 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

Just-works pairing does request user confirmation.
---
 tools/mgmt-tester.c | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
index f6eac30a5..d8554411f 100644
--- a/tools/mgmt-tester.c
+++ b/tools/mgmt-tester.c
@@ -6051,12 +6051,6 @@  static void user_confirm_request_callback(uint16_t index, uint16_t length,
 	struct mgmt_cp_user_confirm_reply cp;
 	uint16_t opcode;
 
-	if (test->just_works) {
-		tester_warn("User Confirmation received for just-works case");
-		tester_test_failed();
-		return;
-	}
-
 	memset(&cp, 0, sizeof(cp));
 	memcpy(&cp.addr, &ev->addr, sizeof(cp.addr));