From eed51cc018fd11a3a5109a2639986b4b861f5f90 Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Wed, 30 Oct 2019 13:42:56 +0530 Subject: [PATCH] Bluetooth: controller: split: Fix missing terminate_ack initialization Add the missing initialization of master role terminate_ack flag. This caused slave initiated remote termination as procedure timeout. Fixes #20135. Signed-off-by: Vinayak Kariappa Chettimada --- subsys/bluetooth/controller/ll_sw/ull_master.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subsys/bluetooth/controller/ll_sw/ull_master.c b/subsys/bluetooth/controller/ll_sw/ull_master.c index 49f4558b8a8..a468b5e0823 100644 --- a/subsys/bluetooth/controller/ll_sw/ull_master.c +++ b/subsys/bluetooth/controller/ll_sw/ull_master.c @@ -183,6 +183,7 @@ u8_t ll_create_connection(u16_t scan_interval, u16_t scan_window, #endif /* CONFIG_BT_CTLR_LE_PING */ conn->common.fex_valid = 0U; + conn->master.terminate_ack = 0U; conn->llcp_req = conn->llcp_ack = conn->llcp_type = 0U; conn->llcp_rx = NULL;