Skip to content

Commit 7bf2027

Browse files
cvinayaknashif
authored andcommitted
Bluetooth: controller: Fix missing initialization
Fix missing initialization of ticks_to_offset value on instantiation of new peripheral context. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent b5cba3c commit 7bf2027

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/bluetooth/controller/ll_sw/ull_adv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,7 @@ uint8_t ll_adv_enable(uint8_t enable)
904904
conn->llcp_conn_param.req = 0;
905905
conn->llcp_conn_param.ack = 0;
906906
conn->llcp_conn_param.disabled = 0;
907+
conn->slave.ticks_to_offset = 0;
907908
#endif /* CONFIG_BT_CTLR_CONN_PARAM_REQ */
908909

909910
#if defined(CONFIG_BT_CTLR_DATA_LENGTH)

0 commit comments

Comments
 (0)