Skip to content
Permalink
Browse files

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 <alsv@nordicsemi.no>
  • Loading branch information...
Alexander Svensen authored and aescolar committed May 8, 2019
1 parent 5c69e98 commit 3d94df7e8ee5da7fa4bf1b7cea2b5a9bbe3a4b13
Showing with 2 additions and 2 deletions.
  1. +2 −2 subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c
@@ -392,10 +392,10 @@ void lll_conn_isr_tx(void *param)
radio_tmr_hcto_configure(hcto);

#if defined(CONFIG_BT_CENTRAL) && defined(CONFIG_BT_CTLR_CONN_RSSI)
if (!lll->role) {
if (!trx_cnt && !lll->role) {
radio_rssi_measure();
}
#endif /* iCONFIG_BT_CENTRAL && CONFIG_BT_CTLR_CONN_RSSI */
#endif /* CONFIG_BT_CENTRAL && CONFIG_BT_CTLR_CONN_RSSI */

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

0 comments on commit 3d94df7

Please sign in to comment.
You can’t perform that action at this time.