OSDN Git Service

tools/mgmt-tester: Fix calling test_setup twice
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 30 Oct 2013 12:43:47 +0000 (14:43 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 30 Oct 2013 12:43:47 +0000 (14:43 +0200)
tools/mgmt-tester.c

index 79b7c82..b50177f 100644 (file)
@@ -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);
                }
        }
 }