--- tools/mgmt-tester.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 17d2bd2..a711d0d 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -2868,9 +2868,6 @@ static void setup_start_discovery(const void *test_data) setup_command_hci_callback, NULL); - if (test->send_func) - send_param = test->send_func(&send_len); - mgmt_send(data->mgmt, MGMT_OP_START_DISCOVERY, data->mgmt_index, send_len, send_param, NULL, NULL, NULL); } else { -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html