diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-17 14:36:31 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-17 14:37:01 +0200 |
commit | f68a9934844fe80a0b5c86274faf59847c7b8b95 (patch) | |
tree | 08303adcd687120a1490671c1e53e68a1b7f15c2 /emulator/bthost.c | |
parent | 4975b8d1f46d969029ccdc6217c36841af7bb506 (diff) | |
download | bluez-f68a9934844fe80a0b5c86274faf59847c7b8b95.tar.gz |
emulator: Track LE enable status in bthost
Diffstat (limited to 'emulator/bthost.c')
-rw-r--r-- | emulator/bthost.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emulator/bthost.c b/emulator/bthost.c index d038e7502..44c01d340 100644 --- a/emulator/bthost.c +++ b/emulator/bthost.c @@ -215,6 +215,7 @@ struct bthost { bool reject_user_confirm; void *smp_data; bool conn_init; + bool le; bool sc; }; @@ -2198,6 +2199,7 @@ void bthost_write_ssp_mode(struct bthost *bthost, uint8_t mode) void bthost_write_le_host_supported(struct bthost *bthost, uint8_t mode) { + bthost->le = mode; send_command(bthost, BT_HCI_CMD_WRITE_LE_HOST_SUPPORTED, &mode, 1); } |