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/83d62d26 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/83d62d26 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/83d62d26 Branch: refs/heads/sterly_refactor Commit: 83d62d26542621eb6061b371e7ad61272c0a0966 Parents: 40695b3 Author: Christopher Collins <[email protected]> Authored: Wed Jul 27 18:52:39 2016 -0700 Committer: Sterling Hughes <[email protected]> Committed: Sun Jul 31 21:58:57 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/83d62d26/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! */
