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 6081de37 nimble/ll: Fix assert on scan start
6081de37 is described below
commit 6081de3754b530732d4e2b0638fd9534ecf49944
Author: Andrzej Kaczmarek <[email protected]>
AuthorDate: Mon Jul 31 13:58:39 2023 +0200
nimble/ll: Fix assert on scan start
LL_STATE_BIG was not handled properly when trying to start scan window.
---
nimble/controller/src/ble_ll_scan.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/nimble/controller/src/ble_ll_scan.c
b/nimble/controller/src/ble_ll_scan.c
index 3c507323..d1c3c8ad 100644
--- a/nimble/controller/src/ble_ll_scan.c
+++ b/nimble/controller/src/ble_ll_scan.c
@@ -1134,6 +1134,11 @@ ble_ll_scan_event_proc(struct ble_npl_event *ev)
ble_ll_state_set(BLE_LL_STATE_STANDBY);
}
break;
+#if MYNEWT_VAL(BLE_LL_ISO_BROADCASTER)
+ case BLE_LL_STATE_BIG:
+ start_scan = false;
+ break;
+#endif
case BLE_LL_STATE_STANDBY:
break;
default: