Diff between f01f3a2daecddd86c163a7dc6880367d178c885b and 141c10827b6df17a5d733d36857389fbc3327c15
Changed Files
| File | Additions | Deletions | Status |
| emulator/btdev.c | +2 | -0 | modified |
Full Patch
diff --git a/emulator/btdev.c b/emulator/btdev.c
index a087346..fe7960a 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -119,6 +119,7 @@ struct btdev {
uint8_t le_scan_data_len;
uint8_t le_scan_enable;
uint8_t le_scan_type;
+ uint8_t le_scan_own_addr_type;
uint8_t le_filter_dup;
uint8_t le_adv_enable;
uint8_t le_ltk[16];
@@ -2383,6 +2384,7 @@ static void default_cmd(struct btdev *btdev, uint16_t opcode,
else {
status = BT_HCI_ERR_SUCCESS;
btdev->le_scan_type = lssp->type;
+ btdev->le_scan_own_addr_type = lssp->own_addr_type;
}
cmd_complete(btdev, opcode, &status, sizeof(status));