Skip to content

Commit

Permalink
Bluetooth: controller: Fix packet timing restriction 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]

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
  • Loading branch information
cvinayak authored and carlescufi committed Jul 16, 2019
1 parent 3f57636 commit dbb3c7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions subsys/bluetooth/controller/ll_sw/ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -9880,6 +9880,9 @@ static inline u8_t phy_upd_ind_recv(struct radio_pdu_node_rx *node_rx,
conn->llcp_phy.ack = conn->llcp_phy.req;
conn->procedure_expire = 0U;

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

/* Ignore event generation if not local cmd initiated */
if (!conn->llcp_phy.cmd) {
return 0;
Expand Down

0 comments on commit dbb3c7f

Please sign in to comment.