Bluetooth: controller: Fix Conn Param Req response timeout
When the peer slave rejects a Connection Parameter Request Procedure, the controller proceeds to perform a Connection Update Procedure without clearing the procedure timer that causes the connection to terminate eventually. This is fixed by clearing the procedure timeout when the Connection Update Procedure completes. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
c707c82fc8
commit
8ab1a1112b
1 changed files with 3 additions and 0 deletions
|
@ -6419,6 +6419,9 @@ static inline u32_t event_conn_upd_prep(struct connection *conn,
|
|||
if ((conn->llcp_conn_param.req != conn->llcp_conn_param.ack) &&
|
||||
(conn->llcp_conn_param.state == LLCP_CPR_STATE_UPD)) {
|
||||
conn->llcp_conn_param.ack = conn->llcp_conn_param.req;
|
||||
|
||||
/* Stop procedure timeout */
|
||||
conn->procedure_expire = 0;
|
||||
}
|
||||
#endif /* CONFIG_BT_CTLR_CONN_PARAM_REQ */
|
||||
/* Reset ticker_id_prepare as role is not continued further
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue