You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by we...@apache.org on 2016/01/25 20:40:07 UTC

incubator-mynewt-larva git commit: Add handle to debug log

Repository: incubator-mynewt-larva
Updated Branches:
  refs/heads/master 7662fab94 -> 7a15092e5


Add handle to debug log


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/commit/7a15092e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/tree/7a15092e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/diff/7a15092e

Branch: refs/heads/master
Commit: 7a15092e576b878eaa3d2f8026a3bef83dae1393
Parents: 7662fab
Author: wes3 <wi...@micosa.io>
Authored: Mon Jan 25 11:39:47 2016 -0800
Committer: wes3 <wi...@micosa.io>
Committed: Mon Jan 25 11:39:52 2016 -0800

----------------------------------------------------------------------
 net/nimble/controller/src/ble_ll_conn.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-larva/blob/7a15092e/net/nimble/controller/src/ble_ll_conn.c
----------------------------------------------------------------------
diff --git a/net/nimble/controller/src/ble_ll_conn.c b/net/nimble/controller/src/ble_ll_conn.c
index ad3d52e..623628c 100644
--- a/net/nimble/controller/src/ble_ll_conn.c
+++ b/net/nimble/controller/src/ble_ll_conn.c
@@ -769,8 +769,8 @@ ble_ll_conn_event_start_cb(struct ble_ll_sched_item *sch)
     ble_ll_state_set(BLE_LL_STATE_CONNECTION);
 
     /* Log connection event start */
-    ble_ll_log(BLE_LL_LOG_ID_CONN_EV_START, connsm->data_chan_index, 0, 
-               connsm->ce_end_time);
+    ble_ll_log(BLE_LL_LOG_ID_CONN_EV_START, connsm->data_chan_index, 
+               connsm->conn_handle, connsm->ce_end_time);
 
     /* Set channel */
     rc = ble_phy_setchan(connsm->data_chan_index, connsm->access_addr,