Skip to content
Commit 09987162 authored by Ahmed Ahmed's avatar Ahmed Ahmed Committed by Benjamin Cabé
Browse files

bluetooth: host: iterate over connections in TX list



Iterate over the list of connections to find a connection
that is able to send data, instead of returning NULL if
the first connection can't send data.

This solves the problem with starvation of other connections.

Signed-off-by: default avatarAhmed Ahmed <ahmed.ahmed@dewinelabs.com>
parent 70b84d58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment