Skip to content

Commit f265b17

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: controller: Fix regression in PA/LNA support
Fix regression in PA/LNA support wherein the GPIO pins where left in undefined state after each radio event. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
1 parent e14be44 commit f265b17

File tree

1 file changed

+6
-6
lines changed
  • subsys/bluetooth/controller/ll_sw/nordic/lll

1 file changed

+6
-6
lines changed

subsys/bluetooth/controller/ll_sw/nordic/lll/lll.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,8 @@ void lll_isr_tx_status_reset(void)
464464
radio_status_reset();
465465
radio_tmr_status_reset();
466466

467-
if (IS_ENABLED(CONFIG_BT_CTLR_GPIO_PA_PIN) ||
468-
IS_ENABLED(CONFIG_BT_CTLR_GPIO_LNA_PIN)) {
467+
if (IS_ENABLED(CONFIG_BT_CTLR_GPIO_PA) ||
468+
IS_ENABLED(CONFIG_BT_CTLR_GPIO_LNA)) {
469469
radio_gpio_pa_lna_disable();
470470
}
471471
}
@@ -476,8 +476,8 @@ void lll_isr_rx_status_reset(void)
476476
radio_tmr_status_reset();
477477
radio_rssi_status_reset();
478478

479-
if (IS_ENABLED(CONFIG_BT_CTLR_GPIO_PA_PIN) ||
480-
IS_ENABLED(CONFIG_BT_CTLR_GPIO_LNA_PIN)) {
479+
if (IS_ENABLED(CONFIG_BT_CTLR_GPIO_PA) ||
480+
IS_ENABLED(CONFIG_BT_CTLR_GPIO_LNA)) {
481481
radio_gpio_pa_lna_disable();
482482
}
483483
}
@@ -490,8 +490,8 @@ void lll_isr_status_reset(void)
490490
radio_ar_status_reset();
491491
radio_rssi_status_reset();
492492

493-
if (IS_ENABLED(CONFIG_BT_CTLR_GPIO_PA_PIN) ||
494-
IS_ENABLED(CONFIG_BT_CTLR_GPIO_LNA_PIN)) {
493+
if (IS_ENABLED(CONFIG_BT_CTLR_GPIO_PA) ||
494+
IS_ENABLED(CONFIG_BT_CTLR_GPIO_LNA)) {
495495
radio_gpio_pa_lna_disable();
496496
}
497497
}

0 commit comments

Comments
 (0)