Bluetooth: controller: split: Fix to use correct secondary PHY

Fix using correct secondary PHY for auxiliary PDUs.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2020-02-11 10:56:18 +05:30 committed by Carles Cufí
commit 59f2bb1337

View file

@ -41,6 +41,10 @@ void lll_adv_aux_prepare(struct lll_adv *lll)
uint8_t *ptr;
uint8_t upd = 0U;
/* TODO: if coded we use S8? */
radio_phy_set(lll->phy_s, 1);
radio_pkt_configure(8, PDU_AC_PAYLOAD_SIZE_MAX, (lll->phy_s << 1));
/* AUX_ADV_IND PDU buffer get */
/* FIXME: get latest only when primary PDU without Aux PDUs */
sec = lll_adv_aux_data_latest_get(lll, &upd);