You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ry...@apache.org on 2019/07/12 13:46:46 UTC
[mynewt-nimble] 09/12: nimble/ll: Minor rename parameter for
consistency
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 7858eb588507dbc53651170a9548926ec7ff53f8
Author: Ćukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Wed Jul 10 14:32:16 2019 +0200
nimble/ll: Minor rename parameter for consistency
---
nimble/controller/src/ble_ll_scan.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/nimble/controller/src/ble_ll_scan.c b/nimble/controller/src/ble_ll_scan.c
index aa87e8a..021cd07 100644
--- a/nimble/controller/src/ble_ll_scan.c
+++ b/nimble/controller/src/ble_ll_scan.c
@@ -1116,14 +1116,14 @@ ble_ll_scan_window_chk(struct ble_ll_scan_sm *scansm, uint32_t cputime)
}
#if MYNEWT_VAL(BLE_LL_CFG_FEAT_LL_EXT_ADV)
static void
-ble_ll_scan_aux_data_free(struct ble_ll_aux_data *aux_scan)
+ble_ll_scan_aux_data_free(struct ble_ll_aux_data *aux_data)
{
- if (aux_scan) {
- if (aux_scan->evt) {
- ble_hci_trans_buf_free((uint8_t *)aux_scan->evt);
- aux_scan->evt = NULL;
+ if (aux_data) {
+ if (aux_data->evt) {
+ ble_hci_trans_buf_free((uint8_t *)aux_data->evt);
+ aux_data->evt = NULL;
}
- os_memblock_put(&ext_adv_pool, aux_scan);
+ os_memblock_put(&ext_adv_pool, aux_data);
STATS_INC(ble_ll_stats, aux_freed);
}
}