Skip to content

Commit 5289447

Browse files
cvinayakaescolar
authored andcommitted
Bluetooth: controller: split: Fix non-connectable event slot time
Fix the calculation of non connectable advertising event slot reservation duration. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent b33ccbf commit 5289447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/controller/ll_sw/ull_adv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ u8_t ll_adv_enable(u8_t enable)
734734
if (pdu_adv->type == PDU_ADV_TYPE_NONCONN_IND) {
735735
adv_size += adv_data_len;
736736
slot_us += BYTES2US(adv_size, phy) * adv_chn_cnt +
737-
EVENT_IFS_MAX_US * (adv_chn_cnt - 1);
737+
rxtx_turn_us * (adv_chn_cnt - 1);
738738
} else {
739739
if (pdu_adv->type == PDU_ADV_TYPE_DIRECT_IND) {
740740
adv_size += TARGETA_SIZE;

0 commit comments

Comments
 (0)