You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2021/09/02 09:33:19 UTC

[mynewt-nimble] branch master updated: nimble/ll: Fix scan interval adjust for continuous scan

This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b9a2ae  nimble/ll: Fix scan interval adjust for continuous scan
8b9a2ae is described below

commit 8b9a2aea41b2579126c191f55ae19a526c7b37c8
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Tue Mar 9 17:33:03 2021 +0100

    nimble/ll: Fix scan interval adjust for continuous scan
---
 nimble/controller/src/ble_ll_scan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/controller/src/ble_ll_scan.c b/nimble/controller/src/ble_ll_scan.c
index e67d806..7eac16b 100644
--- a/nimble/controller/src/ble_ll_scan.c
+++ b/nimble/controller/src/ble_ll_scan.c
@@ -3416,7 +3416,7 @@ ble_ll_set_ext_scan_params(const uint8_t *cmdbuf, uint8_t len)
         }
 
         if (uncoded->timing.interval == uncoded->timing.window) {
-            uncoded->timing.window += coded->timing.window;
+            uncoded->timing.interval += coded->timing.window;
         }
     }