From edcb6ceb12701b478199f7b9db10f33b5a6a3dbf Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Fri, 27 Jan 2017 14:35:00 -0600 Subject: Bluetooth: hci_raw: Make bt_buf_get_rx args consistent The hci_raw version of bt_buf_get_rx was expecting an int for timeout. Let us int32_t instead so we match both the hci_core version and the type that net_buf_alloc expects. This addresses a possible build issue if/when int32_t differs from our default (ie, newlib). Change-Id: I69374c48da8f2b96fa2bd418ff505fbaacda11f0 Signed-off-by: Kumar Gala --- subsys/bluetooth/host/hci_raw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/host/hci_raw.c b/subsys/bluetooth/host/hci_raw.c index db35f80a5..20b48b706 100644 --- a/subsys/bluetooth/host/hci_raw.c +++ b/subsys/bluetooth/host/hci_raw.c @@ -45,7 +45,7 @@ int bt_hci_driver_register(struct bt_hci_driver *drv) return 0; } -struct net_buf *bt_buf_get_rx(int timeout) +struct net_buf *bt_buf_get_rx(int32_t timeout) { return net_buf_alloc(&hci_rx_pool, timeout); } -- cgit v1.2.3