Diff between 4975b8d1f46d969029ccdc6217c36841af7bb506 and f68a9934844fe80a0b5c86274faf59847c7b8b95
Changed Files
| File | Additions | Deletions | Status |
| emulator/bthost.c | +2 | -0 | modified |
Full Patch
diff --git a/emulator/bthost.c b/emulator/bthost.c
index d038e75..44c01d3 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);
}