diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2015-05-14 12:50:28 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-05-17 10:39:00 +0300 |
commit | f41312b893d017f4ea2e85b9bb0a06f60ecd7516 (patch) | |
tree | fb1b05e5fd0e3e56a32679e6626fb01aafe9ffce /tools/smp-tester.c | |
parent | cf8c7401a0caa237824c2adcdfb428b304a9984e (diff) | |
download | bluez-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.c | 2 |
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) |