Bluetooth: controller: Refactor the internal LL interfaces
Refactored the internal LL interfaces to have return value to match the HCI error code u8_t data type. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
5a58da57fd
commit
0989c0f8c2
2 changed files with 6 additions and 6 deletions
|
@ -11353,7 +11353,7 @@ void ll_length_max_get(u16_t *max_tx_octets, u16_t *max_tx_time,
|
|||
#endif /* CONFIG_BT_CTLR_DATA_LENGTH */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_PHY)
|
||||
u32_t ll_phy_get(u16_t handle, u8_t *tx, u8_t *rx)
|
||||
u8_t ll_phy_get(u16_t handle, u8_t *tx, u8_t *rx)
|
||||
{
|
||||
struct connection *conn;
|
||||
|
||||
|
@ -11369,7 +11369,7 @@ u32_t ll_phy_get(u16_t handle, u8_t *tx, u8_t *rx)
|
|||
return 0;
|
||||
}
|
||||
|
||||
u32_t ll_phy_default_set(u8_t tx, u8_t rx)
|
||||
u8_t ll_phy_default_set(u8_t tx, u8_t rx)
|
||||
{
|
||||
/* TODO: validate against supported phy */
|
||||
|
||||
|
@ -11379,7 +11379,7 @@ u32_t ll_phy_default_set(u8_t tx, u8_t rx)
|
|||
return 0;
|
||||
}
|
||||
|
||||
u32_t ll_phy_req_send(u16_t handle, u8_t tx, u8_t flags, u8_t rx)
|
||||
u8_t ll_phy_req_send(u16_t handle, u8_t tx, u8_t flags, u8_t rx)
|
||||
{
|
||||
struct connection *conn;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue