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 2018/03/15 21:26:56 UTC
[mynewt-nimble] 01/14: nimble/ll: Allow to be late on RX when
scanning
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
commit f9250ff60de7aa3efed6cf1fe9c60ac534e66e67
Author: Ćukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Tue Mar 6 14:41:56 2018 +0100
nimble/ll: Allow to be late on RX when scanning
X-Original-Commit: 178ff7a986ca139b1d776bad8050526f4dfaf18d
---
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 b20cbfc..51100cc 100644
--- a/nimble/controller/src/ble_ll_scan.c
+++ b/nimble/controller/src/ble_ll_scan.c
@@ -1001,7 +1001,7 @@ ble_ll_scan_start(struct ble_ll_scan_sm *scansm, struct ble_ll_sched_item *sch)
rc = ble_phy_rx_set_start_time(os_cputime_get32() +
g_ble_ll_sched_offset_ticks, 0);
}
- if (!rc) {
+ if (!rc || rc == BLE_PHY_ERR_RX_LATE) {
/* Enable/disable whitelisting */
if (scanphy->scan_filt_policy & 1) {
ble_ll_whitelist_enable();
--
To stop receiving notification emails like this one, please contact
andk@apache.org.