summaryrefslogtreecommitdiff
path: root/common/btle_ll.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/btle_ll.c')
-rw-r--r--common/btle_ll.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/btle_ll.c b/common/btle_ll.c
index 664ff1296d..74f690271b 100644
--- a/common/btle_ll.c
+++ b/common/btle_ll.c
@@ -724,6 +724,8 @@ int connected_communicate(void)
if (!is_first_data_packet)
offset = last_receive_time + conn_params.connInterval
- get_time().val;
+ else
+ offset = 0;
rv = ble_rx(&ll_rcv_packet,
offset + conn_params.transmitWindowSize,