Bluetooth: Host: Set SID in bt_le_per_adv_sync_recv_info
Sets SID in bt_le_per_adv_sync_recv_info when host receives
a Periodic Advertising Report
Signed-off-by: Johan Lundin <johan.lundin@nordicsemi.no>
diff --git a/subsys/bluetooth/host/scan.c b/subsys/bluetooth/host/scan.c
index 26442cd..d029c0a 100644
--- a/subsys/bluetooth/host/scan.c
+++ b/subsys/bluetooth/host/scan.c
@@ -637,6 +637,7 @@
info.rssi = evt->rssi;
info.cte_type = BIT(evt->cte_type);
info.addr = &per_adv_sync->addr;
+ info.sid = per_adv_sync->sid;
if (evt->data_status == BT_HCI_LE_ADV_EVT_TYPE_DATA_STATUS_PARTIAL) {
/* Handling of incomplete reports is currently not