Message ID | 20201104234228.2257427-3-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 |
diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 27a5f0bab..4775fb18a 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -6381,7 +6381,9 @@ static void command_hci_callback(uint16_t opcode, const void *param, } if (memcmp(param, expect_hci_param, length) != 0) { - tester_warn("Unexpected HCI command parameter value"); + tester_warn("Unexpected HCI command parameter value:"); + util_hexdump('>', param, length, print_debug, ""); + util_hexdump('!', expect_hci_param, length, print_debug, ""); tester_test_failed(); return; }
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> This make it simpler to debug when the kernel has been updated and parameters no longer match: --- tools/mgmt-tester.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)