From: Johan Hedberg Date: Wed, 30 Oct 2013 12:43:47 +0000 (+0200) Subject: tools/mgmt-tester: Fix calling test_setup twice X-Git-Tag: android-x86-4.4-r3~7107 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=20c2fedb79ea3b602b5b08a8e51b8b2510173216;p=android-x86%2Fexternal-bluetooth-bluez.git tools/mgmt-tester: Fix calling test_setup twice --- diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 79b7c8281..b50177ffc 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -2461,7 +2461,7 @@ static void test_setup(const void *test_data) unsigned char off[] = { 0x00 }; mgmt_send(data->mgmt, MGMT_OP_SET_BREDR, data->mgmt_index, sizeof(off), off, - func, data, NULL); + NULL, data, NULL); } } }