mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
l2cap: update comment (timers are always stopped by l2cap_free_channel_entry)
This commit is contained in:
parent
ecad2f272b
commit
1f3a195bfe
@ -1200,7 +1200,6 @@ static void l2cap_rtx_timeout(btstack_timer_source_t * ts){
|
||||
l2cap_handle_channel_open_failed(channel, L2CAP_CONNECTION_RESPONSE_RESULT_RTX_TIMEOUT);
|
||||
|
||||
// discard channel
|
||||
// no need to stop timer here, it is removed from list during timer callback
|
||||
btstack_linked_list_remove(&l2cap_channels, (btstack_linked_item_t *) channel);
|
||||
l2cap_free_channel_entry(channel);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user