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:
parent
eb07178236
commit
edcb6ceb12
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue