You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/07/28 02:11:08 UTC
[2/5] incubator-mynewt-core git commit: BLE ctlr - Use updated host
rx data API.
BLE ctlr - Use updated host rx data API.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5a782645
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/5a782645
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/5a782645
Branch: refs/heads/develop
Commit: 5a7826456ad4a7bd1a81b7041e94b0565b7c402d
Parents: f4796bc
Author: Christopher Collins <cc...@apache.org>
Authored: Wed Jul 27 18:52:39 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Wed Jul 27 19:06:38 2016 -0700
----------------------------------------------------------------------
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-core/blob/5a782645/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 811b51f..ca94310 100644
--- a/net/nimble/controller/src/ble_ll_conn.c
+++ b/net/nimble/controller/src/ble_ll_conn.c
@@ -104,7 +104,7 @@ extern void bletest_completed_pkt(uint16_t handle);
*/
/* XXX: this does not belong here! Move to transport? */
-extern int ble_hs_rx_data(struct os_mbuf **om);
+extern int ble_hs_rx_data(struct os_mbuf *om);
/*
* The amount of time that we will wait to hear the start of a receive
@@ -2569,7 +2569,7 @@ ble_ll_conn_rx_data_pdu(struct os_mbuf *rxpdu, struct ble_mbuf_hdr *hdr)
acl_hdr = (acl_hdr << 12) | connsm->conn_handle;
htole16(rxbuf, acl_hdr);
htole16(rxbuf + 2, acl_len);
- ble_hs_rx_data(&rxpdu);
+ ble_hs_rx_data(rxpdu);
}
/* NOTE: we dont free the mbuf since we handed it off! */