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 <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-01-27 14:35:00 -06:00 committed by Johan Hedberg
commit edcb6ceb12

View file

@ -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);
}