Bluetooth: host: Update L2CAP to use the new delayable work API
Update L2CAP to use the new delayable work API for the signaling RTX host timer. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
597080204e
commit
afc29f3a1c
3 changed files with 46 additions and 18 deletions
|
@ -98,7 +98,8 @@ struct bt_l2cap_chan {
|
|||
sys_snode_t node;
|
||||
bt_l2cap_chan_destroy_t destroy;
|
||||
/* Response Timeout eXpired (RTX) timer */
|
||||
struct k_delayed_work rtx_work;
|
||||
struct k_work_delayable rtx_work;
|
||||
struct k_work_sync rtx_sync;
|
||||
ATOMIC_DEFINE(status, BT_L2CAP_NUM_STATUS);
|
||||
|
||||
#if defined(CONFIG_BT_L2CAP_DYNAMIC_CHANNEL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue