Skip to content

Commit 808019e

Browse files
committed
drivers: bluetooth: hci: stm32wba driver update for isr registration
add parameter setting in the updated link_layer_register_isr() Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
1 parent 231f1ff commit 808019e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/bluetooth/hci/hci_stm32wba.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ static int bt_hci_stm32wba_open(const struct device *dev, bt_hci_recv_t recv)
452452
struct hci_data *data = dev->data;
453453
int ret = 0;
454454

455-
link_layer_register_isr();
455+
link_layer_register_isr(0);
456456

457457
ret = bt_ble_ctlr_init();
458458
if (ret == 0) {
@@ -563,7 +563,7 @@ static int radio_pm_action(const struct device *dev, enum pm_device_action actio
563563
#if defined(CONFIG_PM_S2RAM)
564564
if (LL_PWR_IsActiveFlag_SB() == 1U) {
565565
/* Put the radio in active state */
566-
link_layer_register_isr();
566+
link_layer_register_isr(1);
567567
}
568568
#endif /* CONFIG_PM_S2RAM */
569569
LINKLAYER_PLAT_NotifyWFIExit();

0 commit comments

Comments
 (0)