OSDN Git Service

tools/mgmt-tester: Fix sending right set_discoverable parameters in setup
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 30 Oct 2013 12:47:46 +0000 (14:47 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 30 Oct 2013 12:47:46 +0000 (14:47 +0200)
tools/mgmt-tester.c

index b50177f..d9db5bc 100644 (file)
@@ -2452,6 +2452,7 @@ static void test_setup(const void *test_data)
                                discov_param[1] = 0x01;
                        }
                        param_size = sizeof(discov_param);
+                       param = discov_param;
                }
 
                mgmt_send(data->mgmt, *cmd, data->mgmt_index,