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

janc 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 d11ceccf ble_ll_hci_vs: find conn function name fix
d11ceccf is described below

commit d11ceccfdc9afa7dfbf6224293af38938763ada0
Author: jrotkiewicz <rotkiewicz.ja...@gmail.com>
AuthorDate: Mon May 16 12:15:50 2022 +0200

    ble_ll_hci_vs: find conn function name fix
    
    Wrong function call. Function doesn't exist and the build fails.
---
 nimble/controller/src/ble_ll_hci_vs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/controller/src/ble_ll_hci_vs.c 
b/nimble/controller/src/ble_ll_hci_vs.c
index 2b390920..f12657cc 100644
--- a/nimble/controller/src/ble_ll_hci_vs.c
+++ b/nimble/controller/src/ble_ll_hci_vs.c
@@ -220,7 +220,7 @@ ble_ll_hci_vs_css_set_conn_slot(const uint8_t *cmdbuf, 
uint8_t cmdlen,
     }
 
     conn_handle = le16toh(cmd->conn_handle);
-    connsm = ble_ll_conn_find_active_conn(conn_handle);
+    connsm = ble_ll_conn_find_by_handle(conn_handle);
     if (!connsm) {
         return BLE_ERR_UNK_CONN_ID;
     }

Reply via email to