Skip to content

Commit

Permalink
Bluetooth: controller: split: Fix packet timing restrict reset
Browse files Browse the repository at this point in the history
Fixed a bug related to missing reset of packet timing
restriction variable.

Fixes BT LL TS 5.1.0 test:
LL/CON/SLA/BV-55-C [Initiating PHY Update Procedure - Packet
Time Restrictions, LE Coded]

Related to #17097.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
  • Loading branch information
cvinayak authored and carlescufi committed Jul 17, 2019
1 parent 7251d8c commit ae8628d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions subsys/bluetooth/controller/ll_sw/ull_conn.c
Expand Up @@ -4122,6 +4122,9 @@ static inline u8_t phy_upd_ind_recv(struct ll_conn *conn, memq_link_t *link,
conn->llcp_phy.pause_tx = 0U;
conn->procedure_expire = 0U;

/* Reset packet timing restrictions */
conn->lll.phy_tx_time = conn->lll.phy_tx;

/* Ignore event generation if not local cmd initiated */
if (!conn->llcp_phy.cmd) {
/* Mark for buffer for release */
Expand Down

0 comments on commit ae8628d

Please sign in to comment.