From 141c10827b6df17a5d733d36857389fbc3327c15 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 14 Mar 2014 09:32:58 +0200 Subject: [PATCH] emulator/btdev: Track LE scanning own address type --- emulator/btdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emulator/btdev.c b/emulator/btdev.c index a08734604..fe7960a6a 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)); -- 2.47.3