Bluetooth: Controller: Fix PHY value in HCI LE CIS Established Event

Fix PHY_C_TO_P and PHY_P_TO_C value in HCI LE CIS
Established Event.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2023-08-17 01:55:58 +05:30 committed by Carles Cufí
commit e4cc5838fd

View file

@ -4245,8 +4245,8 @@ static void le_cis_established(struct pdu_data *pdu_data,
sys_put_le24(cis->sync_delay, sep->cis_sync_delay);
sys_put_le24(cig->c_latency, sep->c_latency);
sys_put_le24(cig->p_latency, sep->p_latency);
sep->c_phy = lll_cis_c->phy;
sep->p_phy = lll_cis_p->phy;
sep->c_phy = find_lsb_set(lll_cis_c->phy);
sep->p_phy = find_lsb_set(lll_cis_p->phy);
sep->nse = lll_cis->nse;
sep->c_bn = lll_cis_c->bn;
sep->p_bn = lll_cis_p->bn;