Skip to content

Commit 834626a

Browse files
cvinayakrlubos
authored andcommitted
[nrf fromtree] 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> (cherry picked from commit e4cc583) Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
1 parent 71e9b9f commit 834626a

File tree

1 file changed

+2
-2
lines changed
  • subsys/bluetooth/controller/hci

1 file changed

+2
-2
lines changed

subsys/bluetooth/controller/hci/hci.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4245,8 +4245,8 @@ static void le_cis_established(struct pdu_data *pdu_data,
42454245
sys_put_le24(cis->sync_delay, sep->cis_sync_delay);
42464246
sys_put_le24(cig->c_latency, sep->c_latency);
42474247
sys_put_le24(cig->p_latency, sep->p_latency);
4248-
sep->c_phy = lll_cis_c->phy;
4249-
sep->p_phy = lll_cis_p->phy;
4248+
sep->c_phy = find_lsb_set(lll_cis_c->phy);
4249+
sep->p_phy = find_lsb_set(lll_cis_p->phy);
42504250
sep->nse = lll_cis->nse;
42514251
sep->c_bn = lll_cis_c->bn;
42524252
sep->p_bn = lll_cis_p->bn;

0 commit comments

Comments
 (0)