From 6ef686b241a5c8895592aefe44f807f1232be3ee Mon Sep 17 00:00:00 2001 From: Piotr Pryga Date: Sat, 26 Jul 2025 21:07:36 +0200 Subject: [PATCH] bluetooth: hci_driver: Add missing mpsl.h include Due to change in Zephyr hal, use of mpsl_hwres.h the mpsl.h is not included silently with nrf header files. That causes some functions to be not declared in the hci_driver.c. Also the mpsl_pm_util.c requires additional header: nrf_errno.h provided in nrfxlib with MPSL header files. The header is required because integration layer uses error codes from the headed in the sdk-nrf and MPSL integration layer. Signed-off-by: Piotr Pryga --- subsys/bluetooth/controller/hci_driver.c | 1 + subsys/mpsl/pm/mpsl_pm_utils.c | 1 + 2 files changed, 2 insertions(+) diff --git a/subsys/bluetooth/controller/hci_driver.c b/subsys/bluetooth/controller/hci_driver.c index a33a9f715207..6c7984e512a5 100644 --- a/subsys/bluetooth/controller/hci_driver.c +++ b/subsys/bluetooth/controller/hci_driver.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include diff --git a/subsys/mpsl/pm/mpsl_pm_utils.c b/subsys/mpsl/pm/mpsl_pm_utils.c index e7c4731c84e0..773c53f4805d 100644 --- a/subsys/mpsl/pm/mpsl_pm_utils.c +++ b/subsys/mpsl/pm/mpsl_pm_utils.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include