From 89ce3566c056b9a647f08d13cf16f9e4baeaf824 Mon Sep 17 00:00:00 2001 From: Troels Nilsson Date: Wed, 31 Jan 2024 11:07:30 +0100 Subject: [PATCH] Bluetooth: Controller: Fix handling of CTEInfo in le_ext_adv_report() Handling of CTEInfo being present was missing; Fixes test failure of LL/DDI/SCN/BV-89-C Signed-off-by: Troels Nilsson --- subsys/bluetooth/controller/hci/hci.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/subsys/bluetooth/controller/hci/hci.c b/subsys/bluetooth/controller/hci/hci.c index 66d68471305..6b15e721978 100644 --- a/subsys/bluetooth/controller/hci/hci.c +++ b/subsys/bluetooth/controller/hci/hci.c @@ -7002,6 +7002,11 @@ static void le_ext_adv_report(struct pdu_data *pdu_data, ptr += BDADDR_SIZE; } + if (h->cte_info) { + /* CTEInfo is RFU */ + ptr += 1; + } + if (h->adi) { adi_curr = (void *)ptr;