summaryrefslogtreecommitdiff
path: root/tools/smp-tester.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2015-05-14 12:50:28 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2015-05-17 10:39:00 +0300
commitf41312b893d017f4ea2e85b9bb0a06f60ecd7516 (patch)
treefb1b05e5fd0e3e56a32679e6626fb01aafe9ffce /tools/smp-tester.c
parentcf8c7401a0caa237824c2adcdfb428b304a9984e (diff)
downloadbluez-f41312b893d017f4ea2e85b9bb0a06f60ecd7516.tar.gz
emulator/bthost: Add support for setting custom ADV data
This allows to set any ADV data and not just flags.
Diffstat (limited to 'tools/smp-tester.c')
-rw-r--r--tools/smp-tester.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/smp-tester.c b/tools/smp-tester.c
index c44dc2df1..d24c9b2b4 100644
--- a/tools/smp-tester.c
+++ b/tools/smp-tester.c
@@ -493,7 +493,7 @@ static void setup_powered_client_callback(uint8_t status, uint16_t length,
bthost = hciemu_client_get_host(data->hciemu);
bthost_set_cmd_complete_cb(bthost, client_connectable_complete, data);
- bthost_set_adv_enable(bthost, 0x01, 0x00);
+ bthost_set_adv_enable(bthost, 0x01);
}
static void make_pk(struct test_data *data)