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 2022/06/24 14:11:42 UTC
[mynewt-nimble] branch master updated: nimble/ll: Fix reference to global channel map
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 3a3044d2 nimble/ll: Fix reference to global channel map
3a3044d2 is described below
commit 3a3044d2ab8e653d6b6eb79369477f3f1059bd47
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Fri Jun 24 12:51:23 2022 +0200
nimble/ll: Fix reference to global channel map
---
nimble/controller/src/ble_ll_adv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nimble/controller/src/ble_ll_adv.c b/nimble/controller/src/ble_ll_adv.c
index dad69a02..8e7df3a3 100644
--- a/nimble/controller/src/ble_ll_adv.c
+++ b/nimble/controller/src/ble_ll_adv.c
@@ -1377,7 +1377,7 @@ ble_ll_adv_aux_calculate(struct ble_ll_adv_sm *advsm,
g_ble_ll_data.chan_map);
#else
aux->chan = ble_ll_utils_remapped_channel(ble_ll_rand() % BLE_PHY_NUM_DATA_CHANS,
- g_ble_ll_conn_params.central_chan_map);
+ g_ble_ll_data.chan_map);
#endif
rem_aux_data_len = AUX_DATA_LEN(advsm) - aux_data_offset;