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 <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2019-12-12 22:45:47 +05:30 committed by Carles Cufí
parent 0ef4634bc5
commit bf623906f3

View file

@ -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 {