Skip to content

Commit 3d94df7

Browse files
Alexander Svensenaescolar
authored andcommitted
Bluetooth: controller: split: Fix master role RSSI measurement
Fix broken master role RSSI measurement. Since the original contribution clean up into Zephyr, the radio shorts that was set for measuring the RSSI for master role has been broken, as it was cleared by the radio switching code further in the Tx ISR. Signed-off-by: Alexander Svensen <[email protected]>
1 parent 5c69e98 commit 3d94df7

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,10 @@ void lll_conn_isr_tx(void *param)
392392
radio_tmr_hcto_configure(hcto);
393393

394394
#if defined(CONFIG_BT_CENTRAL) && defined(CONFIG_BT_CTLR_CONN_RSSI)
395-
if (!lll->role) {
395+
if (!trx_cnt && !lll->role) {
396396
radio_rssi_measure();
397397
}
398-
#endif /* iCONFIG_BT_CENTRAL && CONFIG_BT_CTLR_CONN_RSSI */
398+
#endif /* CONFIG_BT_CENTRAL && CONFIG_BT_CTLR_CONN_RSSI */
399399

400400
#if defined(CONFIG_BT_CTLR_PROFILE_ISR) || \
401401
defined(CONFIG_BT_CTLR_GPIO_PA_PIN)

0 commit comments

Comments
 (0)