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:
Joakim Andersson 2021-04-14 17:52:10 +02:00 committed by Anas Nashif
commit b9ea5d9910
3 changed files with 20 additions and 20 deletions

View file

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