From bf623906f3d5f5e17cef8e446d78f8af5704bb44 Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Thu, 12 Dec 2019 22:45:47 +0530 Subject: [PATCH] Bluetooth: controller: split: Fix missing version ind state reset Fix implementation for the missing reset of version information procedure request state value. Signed-off-by: Vinayak Kariappa Chettimada --- subsys/bluetooth/controller/ll_sw/ull_conn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subsys/bluetooth/controller/ll_sw/ull_conn.c b/subsys/bluetooth/controller/ll_sw/ull_conn.c index cc5369093e7..dda7e3c3888 100644 --- a/subsys/bluetooth/controller/ll_sw/ull_conn.c +++ b/subsys/bluetooth/controller/ll_sw/ull_conn.c @@ -4095,6 +4095,9 @@ static int version_ind_send(struct ll_conn *conn, struct node_rx_pdu *rx, /* Mark for buffer for release */ rx->hdr.type = NODE_RX_TYPE_DC_PDU_RELEASE; } else if (!conn->llcp_version.rx) { + /* procedure request acked */ + conn->llcp_version.ack = conn->llcp_version.req; + /* Procedure complete */ conn->procedure_expire = 0U; } else {