Commit 3d94df7e authored by Alexander Svensen's avatar Alexander Svensen Committed by Alberto Escolar
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: default avatarAlexander Svensen <alsv@nordicsemi.no>
parent 5c69e981
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)