projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68dcf0f
)
mgmt-tester: Fix failing pairing tests
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Wed, 4 Nov 2020 19:27:53 +0000
(11:27 -0800)
committer
Ayush Garg
<ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:33 +0000
(19:08 +0530)
Just-works pairing does request user confirmation.
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/mgmt-tester.c
patch
|
blob
|
history
diff --git
a/tools/mgmt-tester.c
b/tools/mgmt-tester.c
index
f6eac30
..
d855441
100755
(executable)
--- 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));