@@ -856,7 +856,7 @@ static int prepare_cb(struct lll_prepare_param *p)
856856 * transmitting connectable advertising event if cancelled flag is set.
857857 */
858858 if (unlikely (lll -> conn &&
859- (lll -> conn -> slave .initiated || lll -> conn -> slave .cancelled ))) {
859+ (lll -> conn -> periph .initiated || lll -> conn -> periph .cancelled ))) {
860860 radio_isr_set (lll_isr_early_abort , lll );
861861 radio_disable ();
862862
@@ -1091,7 +1091,7 @@ static void isr_tx(void *param)
10911091 radio_tmr_hcto_configure (hcto );
10921092
10931093 /* capture end of CONNECT_IND PDU, used for calculating first
1094- * slave event.
1094+ * peripheral event.
10951095 */
10961096 radio_tmr_end_capture ();
10971097
@@ -1205,7 +1205,7 @@ static void isr_done(void *param)
12051205 */
12061206 if (lll -> chan_map_curr &&
12071207#if defined(CONFIG_BT_PERIPHERAL )
1208- (!lll -> conn || !lll -> conn -> slave .cancelled ) &&
1208+ (!lll -> conn || !lll -> conn -> periph .cancelled ) &&
12091209#endif /* CONFIG_BT_PERIPHERAL */
12101210 1 ) {
12111211 struct pdu_adv * pdu ;
@@ -1447,7 +1447,7 @@ static inline int isr_rx_pdu(struct lll_adv *lll,
14471447 */
14481448 } else if ((pdu_rx -> type == PDU_ADV_TYPE_CONNECT_IND ) &&
14491449 (pdu_rx -> len == sizeof (struct pdu_adv_connect_ind )) &&
1450- lll -> conn && !lll -> conn -> slave .cancelled &&
1450+ lll -> conn && !lll -> conn -> periph .cancelled &&
14511451 lll_adv_connect_ind_check (lll , pdu_rx , tx_addr , addr ,
14521452 rx_addr , tgt_addr ,
14531453 devmatch_ok , & rl_idx )) {
@@ -1481,7 +1481,7 @@ static inline int isr_rx_pdu(struct lll_adv *lll,
14811481#endif /* CONFIG_BT_CTLR_CONN_RSSI */
14821482
14831483 /* Stop further LLL radio events */
1484- lll -> conn -> slave .initiated = 1 ;
1484+ lll -> conn -> periph .initiated = 1 ;
14851485
14861486 rx = ull_pdu_rx_alloc ();
14871487
0 commit comments