Bluetooth: host: Update RFCOMM to new delayable work API
Update RFCOMM to use the new delayable work API for the RTX host timer used for disconnecting and idling. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
25f1ac2679
commit
b9ea5d9910
3 changed files with 20 additions and 20 deletions
|
@ -74,7 +74,7 @@ typedef enum bt_rfcomm_role {
|
|||
/** @brief RFCOMM DLC structure. */
|
||||
struct bt_rfcomm_dlc {
|
||||
/* Response Timeout eXpired (RTX) timer */
|
||||
struct k_delayed_work rtx_work;
|
||||
struct k_work_delayable rtx_work;
|
||||
|
||||
/* Queue for outgoing data */
|
||||
struct k_fifo tx_queue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue